Skip to content

Commit

Permalink
Merge pull request #131 from maherelgamil/master
Browse files Browse the repository at this point in the history
feat: add `spa` feature to filement panel
  • Loading branch information
MarJose123 authored Jul 20, 2024
2 parents c1d7723 + e5c8c02 commit 658ea8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public function panel(Panel $panel): Panel
AuthenticationLogResource::class,
]),
FilamentSpatieRolesPermissionsPlugin::make(),
]);
])
->spa();
}
}
3 changes: 2 additions & 1 deletion app/Providers/Filament/CandidatePanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public function panel(Panel $panel): Panel
])
->authMiddleware([
Authenticate::class,
]);
])
->spa();
}
}

0 comments on commit 658ea8b

Please sign in to comment.