title: pass auth::user as data variable with route
body: <p>I want that when the user click the profile page i want to pass <code>Auth::user()-&gt;username</code> as argument to my userController's show method.I have the profile link as following:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="{{URL::to('/profile')}}"&gt;Profile&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>And in my route i have the following route</p>
  
  <pre><code>Route::get('/profile/{username}',function(){
       return View::make('user.show')-&gt;with($username);
  });
  </code></pre>
  
  <p>my question is how i can set <code>username</code> in my <code>'/profile/{username}'</code> as <code>Auth::user()-&gt;username</code> when i click the profile link?currently the profile link does not attach any parameter with it </p>