diff options
author | Wen-Tien Chang <ihower@gmail.com> | 2011-06-16 13:29:17 +0800 |
---|---|---|
committer | Wen-Tien Chang <ihower@gmail.com> | 2011-06-16 13:36:42 +0800 |
commit | adbe7daab6623baf97a842f73fe310c850552fdd (patch) | |
tree | 1d04bf3ee0dc3444eb875589929fb688e690df96 | |
parent | e445a79562be1700347c78acced81ac20c869a30 (diff) | |
download | rails-adbe7daab6623baf97a842f73fe310c850552fdd.tar.gz rails-adbe7daab6623baf97a842f73fe310c850552fdd.tar.bz2 rails-adbe7daab6623baf97a842f73fe310c850552fdd.zip |
Improve the legacy wild controller route in app templates
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/routes.rb | 2 |
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 |