Skip to content

Commit

Permalink
Format array
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 13, 2023
1 parent d2d3a3e commit 066a187
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/realtime-compiler/src/Http/DashboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,12 @@ public function handle(): Response

protected function show(): string
{
return AnonymousViewCompiler::handle(__DIR__.'/../../resources/dashboard.blade.php',
['title' => config('hyde.name').' - Dashboard', 'dashboard' => $this, 'request' => $this->request, 'csrfToken' => $this->generateCSRFToken()],
);
return AnonymousViewCompiler::handle(__DIR__.'/../../resources/dashboard.blade.php', [
'title' => config('hyde.name').' - Dashboard',
'dashboard' => $this,
'request' => $this->request,
'csrfToken' => $this->generateCSRFToken(),
]);
}

protected function handlePostRequest(): JsonResponse
Expand Down

0 comments on commit 066a187

Please sign in to comment.