From 50b75ca4809b3a990532929f0f865c30c29ead58 Mon Sep 17 00:00:00 2001 From: Purvesh Date: Sun, 29 Apr 2018 10:55:20 +1200 Subject: [PATCH] updated admin menu --- src/Module.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Module.php b/src/Module.php index 8c55c0f..99709bb 100644 --- a/src/Module.php +++ b/src/Module.php @@ -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); }