Permalink
Browse files

Merge pull request #16282 from davidbalbert/patch-1

Fix protect_from_forgery docs [ci-skip]
  • Loading branch information...
2 parents da1b8a7 + dce49f8 commit 69133a4e00fe47210cac67c23bbd650b339dff25 @guilleiguaran guilleiguaran committed Jul 27, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/metal/request_forgery_protection.rb
@@ -77,7 +77,7 @@ module RequestForgeryProtection
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

0 comments on commit 69133a4

Please sign in to comment.