This project is archived and is in readonly mode.
Changeset [b802a0d4c72fbd605b92e9f403c9b8765a6e480c] by Andrew White
Revision b802a0d4c72fbd605b92e9f403c9b8765a6e480c,
committed by Andrew White
· July 6th, 2010 @ 11:11 PM
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
http://github.com/rails/rails/commit/b802a0d4c72fbd605b92e9f403c9b8...
3 changed files
-
M
actionpack/lib/action_dispatch/routing/mapper.rb -
M
actionpack/lib/action_dispatch/routing/route_set.rb -
M
actionpack/test/dispatch/routing_test.rb