Skip to content

Commit 1c2ed0a

Browse files
Merge pull request rails#29845 from willnet/doc-rails-ujs
[ci skip]Replace jquery-ujs with rails-ujs
2 parents a03a7ce + a76ac34 commit 1c2ed0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionview/lib/action_view/helpers/csrf_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module CsrfHelper
1515
# You don't need to use these tags for regular forms as they generate their own hidden fields.
1616
#
1717
# For AJAX requests other than GETs, extract the "csrf-token" from the meta-tag and send as the
18-
# "X-CSRF-Token" HTTP header. If you are using jQuery with jquery-rails this happens automatically.
18+
# "X-CSRF-Token" HTTP header. If you are using rails-ujs this happens automatically.
1919
#
2020
def csrf_meta_tags
2121
if protect_against_forgery?

0 commit comments

Comments
 (0)