Permalink
Browse files

Improve the legacy wild controller route in app templates

  • Loading branch information...
1 parent e445a79 commit adbe7daab6623baf97a842f73fe310c850552fdd @ihower committed Jun 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/app/templates/config/routes.rb
@@ -54,5 +54,5 @@
# This is a legacy wild controller route that's not recommended for RESTful applications.
# Note: This route will make all actions in every controller accessible via GET requests.
- # match ':controller(/:action(/:id(.:format)))'
+ # match ':controller(/:action(/:id))(.:format)'
end

0 comments on commit adbe7da

Please sign in to comment.