We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Please go to http://rails-bestpractices.com/posts/12-not-use-default-route
Before:
map.resources :posts, :member => { :push => :post } map.connect ':controller/:action/:id' map.connect ':controller/:action/:id.:format'
After:
map.resources :posts, :member => { :push => :post } #map.connect ':controller/:action/:id' #map.connect ':controller/:action/:id.:format' map.connect 'special/:action/:id', :controller => 'special'