how to set active tab in laravel code example Example: laravel bootstrap nav active {{ Route::currentRouteNamed('about') ? 'active' : '' }}