Level 2
This was found to work! But I think there is a better way no?
<li><a href="{{ action('ProfileController@show', Auth::user()->id) }}">My Profile</a></li>
1 like
So how do these work anyways?
Here's what I got:
<li><a href="{{ url('/profile', $params) }}">My Profile</a></li>
I've also tried using $id to get a route like profile/{id}
But I am still getting an undefined variable
Please or to participate in this conversation.