aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2010-07-06 22:20:06 +0100
committerJosé Valim <jose.valim@gmail.com>2010-07-07 00:11:13 +0200
commitb802a0d4c72fbd605b92e9f403c9b8765a6e480c (patch)
tree060f549840236cc7865d1bd85abf4e61f4ddd71a /railties/test
parentf4be0041c605daad2406ec41fa7dfa4388af5f31 (diff)
downloadrails-b802a0d4c72fbd605b92e9f403c9b8765a6e480c.tar.gz
rails-b802a0d4c72fbd605b92e9f403c9b8765a6e480c.tar.bz2
rails-b802a0d4c72fbd605b92e9f403c9b8765a6e480c.zip
When a dynamic :controller segment is present in the path add a Regexp constraint that allow matching on multiple path segments.
Using a namespace block isn't compatible with dynamic routes so we raise an ArgumentError if we detect a :module present in the scope. [#5052 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/test')
0 files changed, 0 insertions, 0 deletions