protected Method

ClassMethods.create_filters(filters, filter_type, &block)

There's no documentation for this item.

Source Code

# File action_controller/filters.rb, line 553
def create_filters(filters, filter_type, &block) #:nodoc:
  filters, conditions = extract_conditions(filters, &block)
  filters.map! { |filter| find_or_create_filter(filter, filter_type) }
  update_conditions(filters, conditions)
  filters
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.