get route with params code example
Example: get the parameter from the route to the view
<a class="nav-link" href=" {{ route('profiles.show',$logged_user) }}">
<a class="nav-link" href=" {{ route('profiles.show',$logged_user) }}">