method
prepend_before_action
v6.1.7.7 -
Show latest stable
- Class:
AbstractController::Callbacks::ClassMethods
prepend_before_actionpublic
Prepend a callback before actions. See _insert_callbacks for parameter details.
If the callback renders or redirects, the action will not run. If there are additional callbacks scheduled to run after that callback, they are also cancelled.