protected Method

ClassMethods.update_conditions(filters, conditions)

There's no documentation for this item.

Source Code

# File action_controller/filters.rb, line 611
def update_conditions(filters, conditions)
  return if conditions.empty?
  if conditions[:only]
    write_inheritable_hash('included_actions', condition_hash(filters, conditions[:only]))
  elsif conditions[:except]
    write_inheritable_hash('excluded_actions', condition_hash(filters, conditions[:except]))
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.