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:
commit
68efb01354
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue