title: Laravel - undefined prefixed route
body: <p>I am currently building a CMS system of which I have created a group of routes for, this group is prefixed with "cms". The problem is within my menu.blade file, where I called the route with the prefix within an hyperlinks HREF attribute and got the following error. </p>
  
  <p><em>Route [cms/welcome] not defined. (View: C:\Bitnami\wampstack-7.1.27-0\apache2\htdocs\nathanreynolds\resources\views\layouts\CMS\menu.blade.php)</em></p>
  
  <p>I can visit the route via entering the url in the top of the browser just fine.However when calling the route using <strong>{{route('cms/welcome')}}</strong> it returns this error.</p>
  
  <p><strong>menu.blade.php</strong></p>
  
  <pre><code>&lt;ul id="CMSnav"&gt;
   &lt;li&gt;&lt;a href="{{route('cms/welcome')}}"&gt;Welcome&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="{{route('cms/about')}}"&gt;About&lt;/a&gt;&lt;/li&gt;
   &lt;li&gt;&lt;a href="{{route('cms/contact')}}"&gt;Contact us&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p><strong>web.php (routes)</strong></p>
  
  <pre><code>/** CMS routes **/
  Route::group(['prefix'=&gt;'cms','middleware'=&gt;'auth'],function(){
    Route::get('welcome','cmsController@index');
    Route::put('updateLayouts','cmsController@updateLayouts');
    Route::get('about','cmsController@about');
    Route::get('contact','cmsController@contact');
    //Route::resource('/CMS','cmsController');
  });
  </code></pre>
  
  <p><strong>Out print of route list via</strong> <em>php artisan route:list</em></p>
  
  <pre><code>C:\Bitnami\wampstack-7.1.27-0\apache2\htdocs\nathanreynolds&gt;php artisan route:list
  +--------+---------------+-------------------------------------------+-----------------------------------+---------------------------------------------------------------------------+------------------+
  | Domain | Method        | URI                                       | Name                              | Action                                                                    | Middleware       |
  +--------+---------------+-------------------------------------------+-----------------------------------+---------------------------------------------------------------------------+------------------+
  |        | GET|HEAD      | /                                         |                                   | Closure                                                                   | web              |
  |        | GET|HEAD      | Blogs                                     | Blogs                             | App\Http\Controllers\pagescontroller@Blogs                                | web,Closure      |
  |        | GET|HEAD      | CMS/about                                 |                                   | App\Http\Controllers\cmsController@about                                  | web,auth,Closure |
  |        | GET|HEAD      | CMS/contact                               |                                   | App\Http\Controllers\cmsController@contact                                | web,auth,Closure |
  |        | PUT           | CMS/updateLayouts                         |                                   | App\Http\Controllers\cmsController@updateLayouts                          | web,auth,Closure |
  |        | GET|HEAD      | CMS/welcome                               |                                   | App\Http\Controllers\cmsController@index
  </code></pre>