diff options
author | David Albert <davidbalbert@gmail.com> | 2014-07-24 12:57:13 -0400 |
---|---|---|
committer | David Albert <davidbalbert@gmail.com> | 2014-07-27 13:20:58 -0400 |
commit | dce49f83c806cf884a302b45bb69ebe1b62ad95b (patch) | |
tree | 1b5cff02fc5022b75416ab1c8011389cebf93af9 /actionpack | |
parent | da1b8a786cad277c1e4dc1a9f03acec4268dda1f (diff) | |
download | rails-dce49f83c806cf884a302b45bb69ebe1b62ad95b.tar.gz rails-dce49f83c806cf884a302b45bb69ebe1b62ad95b.tar.bz2 rails-dce49f83c806cf884a302b45bb69ebe1b62ad95b.zip |
Fix protect_from_forgery docs
Diffstat (limited to 'actionpack')
-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 1355fe87d0..0efa0fb259 100644 --- a/actionpack/lib/action_controller/metal/request_forgery_protection.rb +++ b/actionpack/lib/action_controller/metal/request_forgery_protection.rb @@ -77,7 +77,7 @@ module ActionController #:nodoc: end module ClassMethods - # Turn on request forgery protection. Bear in mind that only non-GET, HTML/JavaScript requests are checked. + # Turn on request forgery protection. Bear in mind that GET and HEAD requests are not checked. # # class ApplicationController < ActionController::Base # protect_from_forgery |