This project is archived and is in readonly mode.

Changeset [b802a0d4c72fbd605b92e9f403c9b8765a6e480c] 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

Committed by Andrew White

  • M actionpack/lib/action_dispatch/routing/mapper.rb
  • M actionpack/lib/action_dispatch/routing/route_set.rb
  • M actionpack/test/dispatch/routing_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>