laravel-dashboard
laravel-dashboard copied to clipboard
Menu active status not working?
How did you make the active statusses (for menu items and dropdowns) in your middleware menu? It's not working at my menu.
Thanks
Hi @Holox , the demo website code is available in GitHub. You can read my middleware code at https://github.com/letrunghieu/laravel-dashboard-demo/blob/master/app/Http/Middleware/Dashboard.php
Hi, thanks. I've made the same way my middleware menu. However it's not getting any active status when I'm on a page. How did you do that?
It's so strange. The package already supports active menus. The route
and url_def
elements will decide whether a menu is active or not. Can you post your middleware code here?