public Method

ClassMethods.prepend_before_filter(*filters, &block)

The passed filters will be prepended to the filter_chain and will execute before the action on this controller is performed.

Source Code

# File action_controller/filters.rb, line 256
def prepend_before_filter(*filters, &block)
  prepend_filter_to_chain(filters, :before, &block)
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.