title: Laravel dynamic route with dynamic prefix
body: <p>I would like to add the customer_id before each group route with the following approach. The customer_id is set as Session::get('customer.id').</p>
  
  <pre><code>Route::group(['prefix' =&gt; 'customer/{id}'], function($id) {
          Route::get('reports/default', array('as' =&gt; 'customer_reports_path', 'uses' =&gt; 'ReportController@getDefault'))-&gt;before('customer'); 
          Route::get('data/objects/{$object_id}', array('as' =&gt; 'customer_reports_object', 'uses' =&gt; 'DataController@getObject'));
  });
  </code></pre>
  
  <p>The first route works as aspected, however, I don't know how to use the second one correctly. </p>
  
  <pre><code>{{ HTML::link(route('customer_reports_object', [Session::get('customer.id'), $object_id], 'Object name') }}
  </code></pre>
  
  <p>The link still ends in 404.</p>