laravel blade check if request url matches

33

@if(Request::url() === 'your url here')
    // code
@endif

if (Request::is('admin/*'))
{
    // code
}

Comments

Submit
0 Comments