aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorWen-Tien Chang <ihower@gmail.com>2011-06-16 14:03:41 +0800
committerWen-Tien Chang <ihower@gmail.com>2011-06-16 14:03:41 +0800
commitd7aac1f1e4f4c6b9d8b98ce02dc1d62cc6ccfa0b (patch)
treeebd3140a5a4c133e6f7137fc2239565e2a091cf9 /actionpack/lib/action_dispatch
parentadbe7daab6623baf97a842f73fe310c850552fdd (diff)
downloadrails-d7aac1f1e4f4c6b9d8b98ce02dc1d62cc6ccfa0b.tar.gz
rails-d7aac1f1e4f4c6b9d8b98ce02dc1d62cc6ccfa0b.tar.bz2
rails-d7aac1f1e4f4c6b9d8b98ce02dc1d62cc6ccfa0b.zip
Also change the default route comment
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/routing.rb2
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