From 6ad2ddeb4a2f2f2d7bee8e743e9ec24c13945685 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Wed, 7 Aug 2024 21:56:13 +0200 Subject: [PATCH] Fixes --- app/Http/Middleware/GenerateMenus.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'], ];