diff --git a/app/Models/DashboardMenu.php b/app/Models/DashboardMenu.php index be94d27..cf1deb1 100644 --- a/app/Models/DashboardMenu.php +++ b/app/Models/DashboardMenu.php @@ -10,7 +10,21 @@ class DashboardMenu * @return array */ public static $menu = [ - [ 'Contact', 'contact' ], - [ 'Subscriptions', 'subscriptions' ] + [ + 'title' => 'Submissions', + + 'submenu' => [ + [ + 'title' => 'Contact', + 'type' => 'view', + 'model' => 'contact' + ], + [ + 'title' => 'Subscriptions', + 'type' => 'view', + 'model' => 'subscriptions' + ] + ] + ] ]; } diff --git a/resources/views/dashboard/home.blade.php b/resources/views/dashboard/home.blade.php index a54994d..79e5a1c 100644 --- a/resources/views/dashboard/home.blade.php +++ b/resources/views/dashboard/home.blade.php @@ -3,24 +3,24 @@ @section('dashboard-body')