mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip]Replace jquery-ujs with rails-ujs
This commit is contained in:
parent
a03a7ce50b
commit
a76ac34613
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module ActionView
|
|||
# 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?
|
||||
|
|
Loading…
Reference in a new issue