title: Laravel link to route not defined
body: <p>I'm grouping <code>profile</code> controller and I want to link to that. Then I define this route:</p>
  
  <pre><code>//Group to put all the routes that need login first
  Route::group(array('prefix'=&gt; 'admin', 'before' =&gt; 'csrf'), function(){
      Route::resource('/profile' , 'ProfileController', array('as'=&gt;'profile') );
  });
  </code></pre>
  
  <p>and this is my menu link:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="{{ URL::route('admin.profile') }}"&gt;profile Managment&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>and this it my result of <code>route</code> in terminal:</p>
  
  <pre><code>+--------+----------------------------------+------------------------+---------------------------+----------------+---------------+
  | Domain | URI                              | Name                   | Action                    | Before Filters | After Filters |
  +--------+----------------------------------+------------------------+---------------------------+----------------+---------------+
  |        | GET /                            | index                  | Closure                   |                |               |
  |        | GET admin/index                  | dashboard              | Closure                   |                |               |
  |        | GET logout                       | logout                 | Closure                   |                |               |
  |        | POST auth                        | auth                   | Closure                   | csrf           |               |
  |        | GET login                        | login                  | Closure                   |                |               |
  |        | GET admin/profile                | admin..profile.index   | ProfileController@index   | csrf           |               |
  |        | GET admin/profile/create         | admin..profile.create  | ProfileController@create  | csrf           |               |
  |        | POST admin/profile               | admin..profile.store   | ProfileController@store   | csrf           |               |
  |        | GET admin/profile/{profile}      | admin..profile.show    | ProfileController@show    | csrf           |               |
  |        | GET admin/profile/{profile}/edit | admin..profile.edit    | ProfileController@edit    | csrf           |               |
  |        | PUT admin/profile/{profile}      | admin..profile.update  | ProfileController@update  | csrf           |               |
  |        | PATCH admin/profile/{profile}    |                        | ProfileController@update  | csrf           |               |
  |        | DELETE admin/profile/{profile}   | admin..profile.destroy | ProfileController@destroy | csrf           |               |
  +--------+----------------------------------+------------------------+---------------------------+----------------+---------------+
  </code></pre>
  
  <p>Now I get this error:</p>
  
  <pre><code>ErrorException
  
  Route [admin.profile] not defined. (View: /var/www/alachiq/app/views/back_end/menu.blade.php) (View: /var/www/alachiq/app/views/back_end/menu.blade.php) (View: /var/www/alachiq/app/views/back_end/menu.blade.php)
  </code></pre>