1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #31055 from y-yagi/show_request_forgery_protection_methods_in_api_doc

Show `RequestForgeryProtection` methods in api doc  [ci skip]
This commit is contained in:
Ryuta Kamizono 2017-11-05 23:10:46 +09:00 committed by GitHub
commit 68efb01354
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -248,6 +248,7 @@ module ActionController #:nodoc:
"If you know what you're doing, go ahead and disable forgery " \
"protection on this action to permit cross-origin JavaScript embedding."
private_constant :CROSS_ORIGIN_JAVASCRIPT_WARNING
# :startdoc:
# If `verify_authenticity_token` was run (indicating that we have
# forgery protection enabled for this request) then also verify that