Skip to content

Commit

Permalink
do not use default route if you use RESTful design
Browse files Browse the repository at this point in the history
  • Loading branch information
madhums committed Aug 30, 2011
1 parent f9c4ecd commit c282141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Expand Up @@ -52,6 +52,6 @@
# Install the default routes as the lowest priority.
# Note: These default routes make all actions in every controller accessible via GET requests. You should
# consider removing or commenting them out if you're using named routes and resources.
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
# map.connect ':controller/:action/:id'
# map.connect ':controller/:action/:id.:format'
end

0 comments on commit c282141

Please sign in to comment.