Flowdock
method

add_action_conditions

Importance_0
v1.0.0 - Show latest stable - 0 notes - Class: ActionController::Filters::ClassMethods
add_action_conditions(filters, conditions) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/filters.rb, line 309
        def add_action_conditions(filters, conditions)
          return unless conditions
          included, excluded = conditions[:only], conditions[:except]
          write_inheritable_hash('included_actions', condition_hash(filters, included)) && return if included
          write_inheritable_hash('excluded_actions', condition_hash(filters, excluded)) if excluded
        end
Register or log in to add new notes.