Skip to content

Commit

Permalink
updated admin menu
Browse files Browse the repository at this point in the history
  • Loading branch information
indpurvesh committed Apr 28, 2018
1 parent 03d54b1 commit 50b75ca
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,14 @@ protected function registerResources()
protected function registerAdminMenu()
{

AdminMenuFacade::add('promotion')
->label('Promotion')
->route('#')
->icon('fas fa-bullhorn');
$promotionMenu = AdminMenuFacade::get('promotion');

$systemMenu = AdminMenuFacade::get('system');
$subscribeMenu = new AdminMenu();
$subscribeMenu->key('subscribe')
->label('Subscribe')
->route('admin.subscribe.index')
->icon('fas fa-users');
$promotionMenu->subMenu('subscribe', $subscribeMenu);
$systemMenu->subMenu('subscribe', $subscribeMenu);

}

Expand Down

0 comments on commit 50b75ca

Please sign in to comment.