title: Create a routes to a controller without model with a /id
body: <p>I have product with a foreign collection_id key</p>
  
  <p>I want to pass an id to a controller.
  To do so i have the following routes for my controller :</p>
  
  <pre><code>controller :magasin do
  
    get "magasin" =&gt; "magasin#index"
  end
  </code></pre>
  
  <p>The only view in my controller is magasin/index.html.erb</p>
  
  <p>The link to magasin is <code>link_to collection.nom,  magasin_path(collection)</code></p>
  
  <p>This kind of syntax usually works in controllers with models. Here my link is : <code>http://localhost:3000/magasin.2</code> instead of <code>http://localhost:3000/magasin/2</code></p>
  
  <p>Later on i will need to call the same view with product_kind_id instead of collection_id and i will add sort by name/price ....</p>
  
  <p>How can i have the ID as a normal argument (<code>/:id)</code>instead of a type(<code>.id</code>)?</p>