Flowdock
method

update_filter_in_chain

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: ActionController::Filters::FilterChain
update_filter_in_chain(filters, options, &test) 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 90
        def update_filter_in_chain(filters, options, &test)
          filters.map! { |f| block_given? ? find(f, &test) : find(f) }
          filters.compact!

          map! do |filter|
            if filters.include?(filter)
              new_filter = filter.dup
              new_filter.update_options!(options)
              new_filter
            else
              filter
            end
          end
        end
Register or log in to add new notes.