Permalink
Browse files

[ci skip] document protect_against_forgery? method

  • Loading branch information...
1 parent a0f9041 commit cd35c1909d44f3c033dc4efbc381d389a19aa2db @westonplatter westonplatter committed May 8, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_controller/metal/request_forgery_protection.rb
@@ -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

0 comments on commit cd35c19

Please sign in to comment.