Merge pull request #10510 from think602/master

[ci skip] document protect_against_forgery? method
This commit is contained in:
Xavier Noria 2013-05-09 23:16:56 -07:00
commit 0593c00dfb

@ -199,6 +199,7 @@ def form_authenticity_param
params[request_forgery_protection_token]
end
# Checks if the controller allows forgery protection.
def protect_against_forgery?
allow_forgery_protection
end