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 [f4be0041c605daad2406ec41fa7dfa4388af5f31] by Andrew White

Revision f4be0041c605daad2406ec41fa7dfa4388af5f31, committed by Andrew White · July 6th, 2010 @ 07:46 PM

Refactor handling of :only and :except options. The rules are:

  1. Don't inherit when specified as an option on a resource
  2. Don't push into scope when specified as an option on a resource
  3. Resources pull in :only or :except options from scope
  4. Either :only or :except in nested scope overwrites parent scope

[#5048 state:resolved]

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/f4be0041c605daad2406ec41fa7dfa...

2 changed files

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