protected Method

ClassMethods.skip_filter_in_chain(*filters, &test)

There's no documentation for this item.

Source Code

# File action_controller/filters.rb, line 625
def skip_filter_in_chain(*filters, &test) #:nodoc:
  filters, conditions = extract_conditions(filters)
  filters.map! { |f| block_given? ? find_filter(f, &test) : find_filter(f) }
  filters.compact!

  if conditions.empty?
    delete_filters_in_chain(filters)
  else
    remove_actions_from_included_actions!(filters,conditions[:only] || [])
    conditions[:only], conditions[:except] = conditions[:except], conditions[:only]
    update_conditions(filters,conditions)
  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.