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:
- Don't inherit when specified as an option on a
resource
- Don't push into scope when specified as an option on a
resource
- Resources pull in :only or :except options from scope
- 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