diff options
author | Weston Platter <westonplatter@gmail.com> | 2013-05-07 21:29:40 -0500 |
---|---|---|
committer | Weston Platter <westonplatter@gmail.com> | 2013-05-10 01:00:57 -0500 |
commit | cd35c1909d44f3c033dc4efbc381d389a19aa2db (patch) | |
tree | 0c14968bea980e7f8b0889ba1b6f557a70dddcd4 /actionpack/lib | |
parent | a0f904143be570f079b03d0e242262cfa30dbcb7 (diff) | |
download | rails-cd35c1909d44f3c033dc4efbc381d389a19aa2db.tar.gz rails-cd35c1909d44f3c033dc4efbc381d389a19aa2db.tar.bz2 rails-cd35c1909d44f3c033dc4efbc381d389a19aa2db.zip |
[ci skip] document protect_against_forgery? method
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/request_forgery_protection.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/request_forgery_protection.rb b/actionpack/lib/action_controller/metal/request_forgery_protection.rb index d275a854fd..573c739da4 100644 --- a/actionpack/lib/action_controller/metal/request_forgery_protection.rb +++ b/actionpack/lib/action_controller/metal/request_forgery_protection.rb @@ -199,6 +199,7 @@ module ActionController #:nodoc: params[request_forgery_protection_token] end + # Checks if the controller allows forgery protection. def protect_against_forgery? allow_forgery_protection end |