// This has been the best way for me to test routes with parameters @if(url()->current() == route('named-route', 'parameter') // do stuff @endif