skip to Main Content

Can all routes be active in Laravel if linked?

i have an issue. If i give to my links routes, all of them becomes active <li class="{{ (strpos(Route::currentRouteName(), 'dashboard') == 0) ? 'active' : '' }}"> <a href="{{ route('dashboard') }}"> <i class="uil uil-dashboard me-2 d-inline-block"></i>Dashboard</a></li> Can somebody explain me…

VIEW QUESTION
Back To Top
Search