We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7b3951 + f7cc8b3 commit 180e601Copy full SHA for 180e601
actionpack/lib/action_controller/metal/request_forgery_protection.rb
@@ -125,6 +125,7 @@ module ClassMethods
125
#
126
# If you need to add verification to the beginning of the callback chain, use <tt>prepend: true</tt>.
127
# * <tt>:with</tt> - Set the method to handle unverified request.
128
+ # Note if <tt>default_protect_from_forgery</tt> is true, Rails call protect_from_forgery with <tt>with :exception</tt>.
129
130
# Built-in unverified request handling methods are:
131
# * <tt>:exception</tt> - Raises ActionController::InvalidAuthenticityToken exception.
0 commit comments