File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ This package is designed to be used on a fresh Laravel project.
3131- [ ] Add an example CRUD
3232- [x] Add UserSeeder with a default admin account
3333- [ ] Add option to enable/disable locales
34- - [ ] Update web.php with groups
34+ - [x ] Update web.php with groups
3535- [ ] Include laravel ide helper support
3636- [ ] Refactor/Simplify SideBar component
3737- [ ] Add Roles/Permissions support
Original file line number Diff line number Diff line change 2323 'phpVersion ' => PHP_VERSION ,
2424 ]);
2525});
26- Route::post ('logout ' , [AuthenticatedSessionController::class, 'destroy ' ])->name ('logout ' );
26+
27+ Route::prefix ('admin ' )->name ('admin. ' )->middleware ('auth ' , 'verified ' )->group (function () {
28+ Route::inertia ('dashboard ' , 'Admin/Dashboard ' )->name ('dashboard ' );
29+ });
2730
2831Route::get ('language/{lang} ' , function ($ lang ) {
2932 session (['locale ' => $ lang ]);
You can’t perform that action at this time.
0 commit comments