aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2015-06-05 19:49:44 +0000
committerVijay Dev <vijaydev.cse@gmail.com>2015-06-05 19:49:44 +0000
commit423f14183f31565cc68d0674733b7b9edf3814a6 (patch)
treefd9e4297b44e647a3bc8cc14cb2e16f6c2004946 /actionpack/lib/action_controller/metal
parent367395550627328fadf1e8143f65c4266984df2c (diff)
parentde74fe74a815a6fbf1384adbd3ac8b815b48868e (diff)
downloadrails-423f14183f31565cc68d0674733b7b9edf3814a6.tar.gz
rails-423f14183f31565cc68d0674733b7b9edf3814a6.tar.bz2
rails-423f14183f31565cc68d0674733b7b9edf3814a6.zip
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'actionpack/lib/action_controller/metal')
-rw-r--r--actionpack/lib/action_controller/metal/request_forgery_protection.rb2
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?