mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Make it easier to find abort documentation
Make sure how to abort is documented on https://api.rubyonrails.org/classes/ActiveSupport/Callbacks.html
This commit is contained in:
parent
2334fe8ffa
commit
2c871ebc64
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ module ActiveSupport
|
|||
# +ClassMethods.set_callback+), and run the installed callbacks at the
|
||||
# appropriate times (via +run_callbacks+).
|
||||
#
|
||||
# By default callbacks are halted by throwing +:abort+.
|
||||
# See +ClassMethods.define_callbacks+ for details.
|
||||
#
|
||||
# Three kinds of callbacks are supported: before callbacks, run before a
|
||||
# certain event; after callbacks, run after the event; and around callbacks,
|
||||
# blocks that surround the event, triggering it when they yield. Callback code
|
||||
|
|
Loading…
Reference in a new issue