Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do filter condition lookup against the actual hash

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit ac97c7a90e5fd1799b1239210a42f8f35c383998 1 parent 31d8169
Marcel Molina authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/filters.rb
2  actionpack/lib/action_controller/filters.rb
@@ -338,7 +338,7 @@ def condition_hash(filters, *actions)
def remove_contradicting_conditions!(filters, conditions)
return unless conditions[:only]
filters.each do |filter|
- next unless included_actions_for_filter = included_actions[filter]
+ next unless included_actions_for_filter = (read_inheritable_attribute('included_actions') || {})[filter]
[*conditions[:only]].each do |conditional_action|
conditional_action = conditional_action.to_s
included_actions_for_filter.delete(conditional_action) if included_actions_for_filter.include?(conditional_action)
Please sign in to comment.
Something went wrong with that request. Please try again.