method

prepend_filter_to_chain

Importance_0
v1.1.6 - Show latest stable - 0 notes - Class: ActionController::Filters::ClassMethods
prepend_filter_to_chain(condition, filters) 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 311
        def prepend_filter_to_chain(condition, filters)
          old_filters = read_inheritable_attribute("#{condition}_filters") || []
          write_inheritable_attribute("#{condition}_filters", filters + old_filters)
        end
Register or log in to add new notes.