title: How to access prefix parameters in closures laravel
body: <p>I'm trying to access a variable in my routes that is defined in a route prefix.</p>
  
  <pre><code>
  Route::group( array('prefix' => '{airline_id}','before' => 'airline'), function($airline_id){
  
  Route::get('/edit', function(){
  
     // Access $airline_id here...
  
  }
  
  });
  </code></pre>
  
  <p>But it just throws an error saying "Missing argument 1 for {closure}()"...</p>
  
  <p>Is there any way to do this or am I stuck making a bunch of routes..</p>