method

skip_after_filter

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionController::Filters::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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.