Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [51551a0a5bd6f7e4116bc3759a4d7c15634643dc] by Prem Sichanugrist

Revision 51551a0a5bd6f7e4116bc3759a4d7c15634643dc, committed 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...

5 changed files

  • 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