method

skip_after_filter

Importance_1
v1.2.6 - Show latest stable - 0 notes - Class: ActionController::Filters::ClassMethods
skip_after_filter(*filters) public

Removes the specified filters from the after filter chain. Note that this only works for skipping method-reference filters, not procs. This is especially useful for managing the chain in inheritance hierarchies where only one out of many sub-controllers need a different hierarchy.

You can control the actions to skip the filter for with the :only and :except options, just like when you apply the filters.

Show source
Register or log in to add new notes.