aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2014-03-29 17:08:40 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2014-03-29 17:08:40 +0530
commit3ae33961e0e88c5e66502a94af29cd4b4417758f (patch)
treed7a9e464b8269707717456799c47242e72066c17 /actionpack
parent86c53d510cf31b792a7e96a44535e64b3983d17a (diff)
parentf8872d658e7f2bee3a18be47c01754368f22ab73 (diff)
downloadrails-3ae33961e0e88c5e66502a94af29cd4b4417758f.tar.gz
rails-3ae33961e0e88c5e66502a94af29cd4b4417758f.tar.bz2
rails-3ae33961e0e88c5e66502a94af29cd4b4417758f.zip
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index 5de0a0cbc6..6f0b49cf28 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -357,6 +357,10 @@ module ActionDispatch
# # params[:category] = 'rock/classic'
# # params[:title] = 'stairway-to-heaven'
#
+ # To match a wildcard parameter, it must have a name assigned to it.
+ # Without a variable name to attach the glob parameter to, the route
+ # can't be parsed.
+ #
# When a pattern points to an internal route, the route's +:action+ and
# +:controller+ should be set in options or hash shorthand. Examples:
#