route name parameter laravel code example
Example 1: laravel is route name
// Check if route is ***
Request::route()->named("YourRouteNameView")
Example 2: laravel route param blade
<a class="nav-link" href=" {{ route('profiles.show',$logged_user) }}">