title: Action url to pass parameters to route
body: <p>I've a form in my view with two selects that I use to filter PRODUCTS by category or (not and) by shop.</p>
  
  <p>I try to make the route url in this way:</p>
  
  <p>/products/{filter}/{key}</p>
  
  <p>Where filter is <strong>category</strong> or <strong>shop</strong> and key the slug of related item.
  Some example:</p>
  
  <p>/products/category/tablet</p>
  
  <p>/products/category/mac</p>
  
  <p>or</p>
  
  <p>/produtcs/shop/eprice</p>
  
  <p>/products/shop/amazon</p>
  
  <p>Then in my route I think something like:</p>
  
  <pre><code>Route::get('/products/{filter}/{key}', 'PageController@products');
  </code></pre>
  
  <p><strong>The question</strong></p>
  
  <p>How can I generate the action url in the form to make this route
  working?</p>