This project is archived and is in readonly mode.

Changeset [f4be0041c605daad2406ec41fa7dfa4388af5f31] 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...

Committed by Andrew White

  • M actionpack/lib/action_dispatch/routing/mapper.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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>