diff --git a/app/Http/Middleware/GenerateMenus.php b/app/Http/Middleware/GenerateMenus.php index 2c5b6ea..fd27dd3 100644 --- a/app/Http/Middleware/GenerateMenus.php +++ b/app/Http/Middleware/GenerateMenus.php @@ -17,7 +17,7 @@ class GenerateMenus public function handle(Request $request, Closure $next): Response { if ($request->route()->getName() === 'livewire.message') { - return $next($request); + return $next($request); } if (!auth()->check()) { @@ -26,7 +26,7 @@ public function handle(Request $request, Closure $next): Response Menu::make('main-menu', function ($menu) { $systemRoutes = [ - 'boilerplate::ui.home' => [' fas fa-home', 'home'], + 'boilerplate::ui.home' => [' fas fa-home', 'dashboard'], 'boilerplate::ui.planned' => [' fas fa-home', 'maintenance.planned'], ];