This project is archived and is in readonly mode.
Changeset [51551a0a5bd6f7e4116bc3759a4d7c15634643dc] by Prem Sichanugrist
March 29th, 2011 @ 10:12 AM
Update the wildcard route to be non-greedy by default, therefore be able to match the (.:format) segment [#6605 state:resolved]
After some discussion with Andrew White, it seems like this is a
better approach for handling a wildcard route. However, user can
still bring back the old behavior by supplying :format =>
false
to the route.
Signed-off-by: Andrew White andyw@pixeltrix.co.uk
https://github.com/rails/rails/commit/51551a0a5bd6f7e4116bc3759a4d7...
Committed by Prem Sichanugrist
- M actionpack/CHANGELOG
- M actionpack/actionpack.gemspec
- M actionpack/lib/action_dispatch/routing/mapper.rb
- M actionpack/test/action_dispatch/routing/mapper_test.rb
- M railties/guides/source/routing.textile
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>