Ho to set the right URL in Laravel
<p>I'm trying to go to a specific URL based on the User's id. When I'm on the home page I can see user's email as well as user's id just fine by doing this:</p>

<pre><code>                  &lt;div class="panel-body"&gt;
                    Hola &lt;strong&gt;{{ Auth::user()-&gt;name }}&lt;/strong&gt;&lt;br/&gt; Welcome!
                   {{Auth::user()-&gt;email}} // tester@gmail.com
                   {{Auth::user()-&gt;id}}    // 15
                &lt;/div&gt;
</code></pre>

<p><strong>But after clicking on this Link:</strong> </p>

<pre><code>           &lt;a href="{{ url('/edit-user/Auth::user()-&gt;id') }}"&gt;Edit User&lt;/a&gt;
</code></pre>

<p>I would like to go to:
     <a href="http://localhost:8000/edit-user/15" rel="nofollow">http://localhost:8000/edit-user/15</a></p>

<p>But when I click on that link I get this link:</p>

<pre><code>                  http://localhost:8000/edit-user/Auth::user()-%3Eid
</code></pre>

<p>Can anyone tell me what I'm doing wrong please?</p>

<p><strong>Here's my routes.php</strong></p>

<pre><code> Route::get('edit-user/{id}', 'HomeController@edit');
</code></pre>

<p><strong>Here's my HomeController:</strong></p>

<pre><code>public function edit($id)
{
    $students = Student::where("id", $id)-&gt;first();
    return view('edit-user', compact('students'));
}
</code></pre>