Laravel Route Param Blade
<a class="nav-link" href=" {{ route('profiles.show',$logged_user) }}">
the preacher
<a class="nav-link" href=" {{ route('profiles.show',$logged_user) }}">
{{dd(request()->route()->parameters)}}
//Swap out PARAMETER_HERE with the specific parameter you need.
\Route::current()->parameter('PARAMETER_HERE')
//A common use case for this would be to output specific content based on conditional logic.
@if( \Route::current()->parameter('account') === 'edit' )
//Edit Account Form Here
@endif