method

prepend_before_action

Importance_1
v6.0.0 - Show latest stable - 0 notes - Class: AbstractController::Callbacks::ClassMethods
prepend_before_action public

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.

Show source
Register or log in to add new notes.