title: Concatenated routes, can i do this in laravel 5.2?
body: <p>Have a list of providers with a three filters (location, category, event type), i need to concatenate filters in routes for make the url more friendly, it would be like ej.: mysite.com/filter/location/cordoba/eventtype/weeding/category/travels
  these filters are not required, so i can filter for only location, or location and category, event type and category, etc.. now my question is, ¿could i do that in laravel 5.2?</p>
  
  <p>i before do this like this:</p>
  
  <pre><code>    Route::get('/filtro/localidad/{localidad?}', [
          'uses' =&gt; 'ProviderController@filterLocation',
          'as' =&gt; 'site_filter_location_path'
      ]);
  
      Route::get('/filtro/tipo_evento/{event_type?}', [
          'uses' =&gt; 'ProviderController@filterEventType',
          'as' =&gt; 'site_filter_event_type_path'
      ]);
  
      Route::get('/filtro/rubro/{caption?}', [
          'uses' =&gt; 'ProviderController@filterCaption',
          'as' =&gt; 'site_filter_caption_path'
      ]);
  </code></pre>
  
  <p>i need something like this (it send me a error where i put only one or two parameters)</p>
  
  <pre><code>Route::get('/filtro/location/{localidad?}/event_type/{event_type?}/caption/{caption?}', [
      'uses' =&gt; 'ProviderController@filter',
      'as' =&gt; 'site_filter_path'
  ]);
  </code></pre>
  
  <p>Let's say that I search by location and category, then the url would be like this: mysite.com/location/cordoba/event_type//caption/travel This generates a bad url which gives me error, then how can I do this?</p>