title: Laravel link to Controller
body: <p>i have this menu item such as :</p>
  
  <pre><code>&lt;li&gt;&lt;a href="{{ URL::route('profile') }}"&gt; Profile Managment &lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>and i want to route that to <code>ProfileController</code>. this below my route do not work.</p>
  
  <pre><code>Route::resource('profile' , 'ProfileController' , array('as'=&gt;'profile' , 'before'=&gt;'csrf'));
  </code></pre>
  
  <p>i want to route that if user can login and can see profile page and that nust be send all Request to ProfileController.</p>
  
  <p>Error Result:</p>
  
  <pre><code>Error in exception handler: Route [profile] not defined. (View: /var/www/laravel/app/views/back_end/menu.blade.php) (View: /var/www/laravel/app/views/back_end/menu.blade.php) (View: /var/www/laravel/app/views/back_end/menu.blade.php) in /var/www/laravel/vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php:207
  </code></pre>