title: Linking in Laravel Blade Template
body: <p>I am quite new to Laravel but I've watched quite a lot of tutorials to get into it, so I am used to it now. However, I am stuck at a point where I want to link to a users favorites in one of my blade.php files.</p>
  
  <p>This is the link in my bootstrap navbar:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="{{ URL::to('users/' . $user-&gt;id . '/favortites' }}"&gt;&lt;i class="fa fa-heart"&gt;    &lt;/i&gt; Favorites&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>I have tried using URL::to but it does not work. I am not sure whether I am implementing the userId correctly.</p>
  
  <p>In the end the link I want to access should look like this: users/5/favorites if the user with an id of 5 is the authenticated user.</p>
  
  <p>I would really appreciate some help here.</p>
  
  <p>Thank you.</p>