Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin committed Sep 15, 2024
1 parent df831b0 commit aa07e16
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/Http/Middleware/HandleInertiaRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ public function share(Request $request): array
'user' => $request->user()?->only('id', 'name', 'is_provisioning', 'timeout_expires_at', 'role'),
'can_access_filament' => $request->user()?->can('filament.access'),
],
'ziggy' => function () use ($request) {
return array_merge((new Ziggy)->toArray(), [
'location' => $request->url(),
]);
},
]);
}
}

0 comments on commit aa07e16

Please sign in to comment.