mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #32253 from zwass/before_action_docs
Add cancellation info to before filter docs [ci skip]
This commit is contained in:
commit
98224f8219
1 changed files with 12 additions and 0 deletions
|
@ -103,6 +103,10 @@ module AbstractController
|
|||
# :call-seq: before_action(names, block)
|
||||
#
|
||||
# Append 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.
|
||||
|
||||
##
|
||||
# :method: prepend_before_action
|
||||
|
@ -110,6 +114,10 @@ module AbstractController
|
|||
# :call-seq: prepend_before_action(names, block)
|
||||
#
|
||||
# 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.
|
||||
|
||||
##
|
||||
# :method: skip_before_action
|
||||
|
@ -124,6 +132,10 @@ module AbstractController
|
|||
# :call-seq: append_before_action(names, block)
|
||||
#
|
||||
# Append 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.
|
||||
|
||||
##
|
||||
# :method: after_action
|
||||
|
|
Loading…
Reference in a new issue