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
<code/>and<pre/>for code samples.