We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a03a7ce commit a76ac34Copy full SHA for a76ac34
actionview/lib/action_view/helpers/csrf_helper.rb
@@ -15,7 +15,7 @@ module CsrfHelper
15
# You don't need to use these tags for regular forms as they generate their own hidden fields.
16
#
17
# 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.
+ # "X-CSRF-Token" HTTP header. If you are using rails-ujs this happens automatically.
19
20
def csrf_meta_tags
21
if protect_against_forgery?
0 commit comments