Skip to content

Commit 2e7bc73

Browse files
committed
Updated MenuSeeder
1 parent ef0d018 commit 2e7bc73

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

database/seeds/DatabaseMenuSeeder.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getItems()
5555
'database' => [
5656
'title' => 'Database',
5757
'slug' => 'database',
58-
'url' => '/database',
58+
'url' => null,
5959
'parent' => null,
6060
'route' => null,
6161
'params' => null,
@@ -72,7 +72,7 @@ public function getItems()
7272
'parent' => 'database',
7373
'route' => 'database',
7474
'params' => null,
75-
'controller' => null,
75+
'controller' => '\CodexShaper\DBM\Http\Controllers\DatabaseController@index',
7676
'middleware' => null,
7777
'target' => '_self',
7878
'icon' => '<i class="fas fa-table"></i>',
@@ -85,7 +85,7 @@ public function getItems()
8585
'parent' => 'database',
8686
'route' => 'crud',
8787
'params' => null,
88-
'controller' => null,
88+
'controller' => '\CodexShaper\DBM\Http\Controllers\CrudController@index',
8989
'middleware' => null,
9090
'target' => '_self',
9191
'icon' => '<i class="fas fa-database"></i>',
@@ -98,7 +98,7 @@ public function getItems()
9898
'parent' => 'database',
9999
'route' => 'permission',
100100
'params' => null,
101-
'controller' => null,
101+
'controller' => '\CodexShaper\DBM\Http\Controllers\PermissionController@index',
102102
'middleware' => null,
103103
'target' => '_self',
104104
'icon' => '<i class="fas fa-user-lock"></i>',
@@ -107,11 +107,11 @@ public function getItems()
107107
'backup' => [
108108
'title' => 'Backup',
109109
'slug' => 'backup',
110-
'url' => '/database',
110+
'url' => '/backup',
111111
'parent' => 'database',
112112
'route' => 'backup',
113113
'params' => null,
114-
'controller' => null,
114+
'controller' => '\CodexShaper\DBM\Http\Controllers\BackupController@index',
115115
'middleware' => null,
116116
'target' => '_self',
117117
'icon' => '<i class="fas fa-sync"></i>',

0 commit comments

Comments
 (0)