提交 dce49f83 编写于 作者: D David Albert

Fix protect_from_forgery docs

上级 da1b8a78
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册