diff options
author | Aditya Kapoor <adityakapoor.mait@gmail.com> | 2015-07-27 21:31:12 +0530 |
---|---|---|
committer | Aditya Kapoor <adityakapoor.mait@gmail.com> | 2015-07-27 21:31:12 +0530 |
commit | b4db53fad445ce1effd2cdc26c87deceafd378b0 (patch) | |
tree | 374a6ad6624b67e2bd08710c40b1adfd2ff3957a /actionpack | |
parent | 0e189cb3df7899bd99697a40b9e5f6316299ac04 (diff) | |
download | rails-b4db53fad445ce1effd2cdc26c87deceafd378b0.tar.gz rails-b4db53fad445ce1effd2cdc26c87deceafd378b0.tar.bz2 rails-b4db53fad445ce1effd2cdc26c87deceafd378b0.zip |
[ci skip] it should be protect_from_forgery
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/request_forgery_protection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/request_forgery_protection.rb b/actionpack/lib/action_controller/metal/request_forgery_protection.rb index 4cb634477e..9e09242872 100644 --- a/actionpack/lib/action_controller/metal/request_forgery_protection.rb +++ b/actionpack/lib/action_controller/metal/request_forgery_protection.rb @@ -20,7 +20,7 @@ module ActionController #:nodoc: # Since HTML and JavaScript requests are typically made from the browser, we # need to ensure to verify request authenticity for the web browser. We can # use session-oriented authentication for these types of requests, by using - # the `protect_form_forgery` method in our controllers. + # the `protect_from_forgery` method in our controllers. # # GET requests are not protected since they don't have side effects like writing # to the database and don't leak sensitive information. JavaScript requests are |