title: How to pass a symbol through rails routes specified through 'resources'?
body: <p>I have this set of routes</p>
  
  <pre><code>  resources :flatfiles do
      collection do
        delete :custom_destroy
      end
    end
  </code></pre>
  
  <p>And I would like to all of the routes to include <code>:key</code> </p>
  
  <p>E.g. <code>get 'flatfiles/:key' =&gt; 'flatfiles#index'</code></p>
  
  <p>I could specify each route individually (like the get action above), but is there a way to do them all at once? </p>