Skip to content

Commit

Permalink
add emp module for laravel admin
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Sep 27, 2023
1 parent 49c4e03 commit 9b575ca
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/Auth/Database/AdminTablesSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function run()
'name' => 'Auth management',
'slug' => 'auth.management',
'http_method' => '',
'http_path' => "/auth/roles\r\n/auth/permissions\r\n/auth/menu\r\n/auth/logs",
'http_path' => "/auth/roles\r\n/auth/permissions\r\n/auth/menu\r\n/auth/logs\r\n/auth/emp\r\n/auth/emp-users",
],
]);

Expand Down Expand Up @@ -121,6 +121,20 @@ public function run()
'icon' => 'fa-history',
'uri' => 'auth/logs',
],
[
'parent_id' => 2,
'order' => 8,
'title' => 'Emp',
'icon' => 'fa-history',
'uri' => 'auth/emp',
],
[
'parent_id' => 2,
'order' => 9,
'title' => 'Emp Users',
'icon' => 'fa-history',
'uri' => 'auth/emp-users',
],
]);

// add role to menu.
Expand Down

0 comments on commit 9b575ca

Please sign in to comment.