title: Refactoring Rails 3 Routes
body: <p>I have this in my routes:</p>
  
  <pre><code>get '/boutique/new' =&gt; 'stores#new', :as =&gt; :new_store, :constraints =&gt; { :id =&gt; /[a-z0-9_-]/ } 
  post '/boutique' =&gt; 'stores#create', :as =&gt; :create_store, :constraints =&gt; { :id =&gt; /[a-z0-9_-]/ }
  get '/:shortname' =&gt; 'stores#show', :as =&gt; :store, :constraints =&gt; { :id =&gt; /[a-z0-9_-]/ }
  get '/:shortname/edit' =&gt; 'stores#edit', :as =&gt; :edit_store, :constraints =&gt; { :id =&gt; /[a-z0-9_-]/ }
  put '/:shortname' =&gt; 'stores#update', :as =&gt; :update_store, :constraints =&gt; { :id =&gt; /[a-z0-9_-]/ }
  delete '/:shortname' =&gt; 'stores#delete', :as =&gt; :destroy_store, :constraints =&gt; { :id =&gt; /[a-z0-9_-]/ }
  </code></pre>
  
  <p>Is there a cleaner way to do the same? It doesn't look any elegant and even less if I add some more controls/actions to it.</p>
  
  <p>Thank you.</p>