title: laravel 5.2 NotFoundHttpException in RouteCollection.php line 161:
body: <p>source code 
  the link i used is nav.blade.php : </p>
  
  <pre><code>{{link_to_route('register','Sign Up',null,['class'=&gt;'signup-btn tbutton small'])}}
  </code></pre>
  
  <p>and routes.php</p>
  
  <pre><code>Route::get('create',[
      'as'=&gt;'register',
      'uses'=&gt;'RegistrationController@create'
  ]);
  </code></pre>
  
  <p>error :</p>
  
  <p>Sorry, the page you are looking for could not be found.</p>
  
  <pre><code>1/1
  NotFoundHttpException in RouteCollection.php line 161:
  in RouteCollection.php line 161
  at RouteCollection-&gt;match(object(Request)) in Router.php line 821
  at Router-&gt;findRoute(object(Request)) in Router.php line 691
  at Router-&gt;dispatchToRoute(object(Request)) in Router.php line 675
  at Router-&gt;dispatch(object(Request)) in Kernel.php line 246
  at Kernel-&gt;Illuminate\Foundation\Http\{closure}(object(Request))
  at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  at Pipeline-&gt;Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  at CheckForMaintenanceMode-&gt;handle(object(Request), object(Closure))
  at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  at Pipeline-&gt;Illuminate\Pipeline\{closure}(object(Request))
  at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  at Pipeline-&gt;Illuminate\Routing\{closure}(object(Request))
  at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
  at Pipeline-&gt;then(object(Closure)) in Kernel.php line 132
  at Kernel-&gt;sendRequestThroughRouter(object(Request)) in Kernel.php line 99
  at Kernel-&gt;handle(object(Request)) in index.php line 54
  </code></pre>
  
  <p>thanks</p>