diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2015-06-05 19:49:44 +0000 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2015-06-05 19:49:44 +0000 |
commit | 423f14183f31565cc68d0674733b7b9edf3814a6 (patch) | |
tree | fd9e4297b44e647a3bc8cc14cb2e16f6c2004946 /actionpack/lib | |
parent | 367395550627328fadf1e8143f65c4266984df2c (diff) | |
parent | de74fe74a815a6fbf1384adbd3ac8b815b48868e (diff) | |
download | rails-423f14183f31565cc68d0674733b7b9edf3814a6.tar.gz rails-423f14183f31565cc68d0674733b7b9edf3814a6.tar.bz2 rails-423f14183f31565cc68d0674733b7b9edf3814a6.zip |
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/request_forgery_protection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/request_forgery_protection.rb b/actionpack/lib/action_controller/metal/request_forgery_protection.rb index a7bd3622ee..4cb634477e 100644 --- a/actionpack/lib/action_controller/metal/request_forgery_protection.rb +++ b/actionpack/lib/action_controller/metal/request_forgery_protection.rb @@ -258,7 +258,7 @@ module ActionController #:nodoc: # Returns true or false if a request is verified. Checks: # - # * is it a GET or HEAD request? Gets should be safe and idempotent + # * Is it a GET or HEAD request? Gets should be safe and idempotent # * Does the form_authenticity_token match the given token value from the params? # * Does the X-CSRF-Token header match the form_authenticity_token def verified_request? |