Horje
add active class depending on the route laravel Code Example
laravel assign active based on route name

<li class="{{ Request::is('products*') ? 'active' : '' }}">

    <a rel="nofollow" href="{{ route('products.index') }}"><span>Products</span></a>

</li> 
laravel assign active based on route name

<li class = "{{ set_active('admin/users') }}">
    <a rel="nofollow" href="{{ url('/admin/users/') }}">Users</a>
</li> 
laravel assign active based on route name
function set_active( $route ) {
    if( is_array( $route ) ){
        return in_array(Request::path(), $route) ? 'active' : '';
    }
    return Request::path() == $route ? 'active' : '';
}
add active class depending on the route laravel
class="{{ Request::is('products.index') ? 'active' : '' }}"




Html

Related
disabling cach using meta tag Code Example disabling cach using meta tag Code Example
Procent in html Code Example Procent in html Code Example
lan ips Code Example lan ips Code Example
minimum html document vs code shortcut Code Example minimum html document vs code shortcut Code Example
webpack Hot replace module unsafe-inline Code Example webpack Hot replace module unsafe-inline Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15