提交 1c2ed0a0 编写于 作者: G Guillermo Iguaran 提交者: GitHub

Merge pull request #29845 from willnet/doc-rails-ujs

[ci skip]Replace jquery-ujs with rails-ujs
......@@ -15,7 +15,7 @@ module CsrfHelper
# You don't need to use these tags for regular forms as they generate their own hidden fields.
#
# For AJAX requests other than GETs, extract the "csrf-token" from the meta-tag and send as the
# "X-CSRF-Token" HTTP header. If you are using jQuery with jquery-rails this happens automatically.
# "X-CSRF-Token" HTTP header. If you are using rails-ujs this happens automatically.
#
def csrf_meta_tags
if protect_against_forgery?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册