Styling active route menu item in laravel
You can check if the current route is active just with request()->routeIs('admin.cities') Or even sub-routes (like editing, creating, or whatever with request()->routeIs('admin.cities*') If you prefer to use the route facade, you still can do that ...
May 17, 20221 min read38
