feat: implement routes for panel admin

This commit is contained in:
2026-08-18 17:59:03 -07:00
parent c80c9c5e2b
commit ebec702aff
3 changed files with 46 additions and 74 deletions
+9
View File
@@ -42,6 +42,10 @@ return [
'driver' => 'session',
'provider' => 'users',
],
'admin' => [
'driver' => 'session',
'provider' => 'admins',
],
],
/*
@@ -67,6 +71,11 @@ return [
'model' =>User::class
],
'admins' => [
'driver' => 'eloquent',
'model' => App\Models\Admin::class
],
// 'users' => [
// 'driver' => 'database',
// 'table' => 'users',