diff options
author | Wen-Tien Chang <ihower@gmail.com> | 2011-06-16 14:03:41 +0800 |
---|---|---|
committer | Wen-Tien Chang <ihower@gmail.com> | 2011-06-16 14:03:41 +0800 |
commit | d7aac1f1e4f4c6b9d8b98ce02dc1d62cc6ccfa0b (patch) | |
tree | ebd3140a5a4c133e6f7137fc2239565e2a091cf9 /actionpack | |
parent | adbe7daab6623baf97a842f73fe310c850552fdd (diff) | |
download | rails-d7aac1f1e4f4c6b9d8b98ce02dc1d62cc6ccfa0b.tar.gz rails-d7aac1f1e4f4c6b9d8b98ce02dc1d62cc6ccfa0b.tar.bz2 rails-d7aac1f1e4f4c6b9d8b98ce02dc1d62cc6ccfa0b.zip |
Also change the default route comment
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing.rb b/actionpack/lib/action_dispatch/routing.rb index 74c090f260..1dcd83ceb5 100644 --- a/actionpack/lib/action_dispatch/routing.rb +++ b/actionpack/lib/action_dispatch/routing.rb @@ -161,7 +161,7 @@ module ActionDispatch # Consider the following route, which you will find commented out at the # bottom of your generated <tt>config/routes.rb</tt>: # - # match ':controller(/:action(/:id(.:format)))' + # match ':controller(/:action(/:id))(.:format)' # # This route states that it expects requests to consist of a # <tt>:controller</tt> followed optionally by an <tt>:action</tt> that in |