aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorWen-Tien Chang <ihower@gmail.com>2011-06-16 13:29:17 +0800
committerWen-Tien Chang <ihower@gmail.com>2011-06-16 13:36:42 +0800
commitadbe7daab6623baf97a842f73fe310c850552fdd (patch)
tree1d04bf3ee0dc3444eb875589929fb688e690df96 /railties
parente445a79562be1700347c78acced81ac20c869a30 (diff)
downloadrails-adbe7daab6623baf97a842f73fe310c850552fdd.tar.gz
rails-adbe7daab6623baf97a842f73fe310c850552fdd.tar.bz2
rails-adbe7daab6623baf97a842f73fe310c850552fdd.zip
Improve the legacy wild controller route in app templates
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/routes.rb b/railties/lib/rails/generators/rails/app/templates/config/routes.rb
index d50f536164..ea81748464 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/routes.rb
+++ b/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