Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel active nav

<a class="list-item-link {{ Route::currentRouteName() === 'admin.ads.index' ? 'active' : '' }}" >
 
PREVIOUS NEXT
Tagged: #laravel #active #nav
ADD COMMENT
Topic
Name
6+3 =