diff options
author | Junya Ogura <junyaogura@gmail.com> | 2016-07-21 23:42:45 +0900 |
---|---|---|
committer | Junya Ogura <junyaogura@gmail.com> | 2016-07-21 23:42:45 +0900 |
commit | 60b6f546a613816b881902d9edafe54d0cde9695 (patch) | |
tree | 4fda477560d95818821fdd079776c54f264b027f /actionpack | |
parent | 58283b5acdb3434a1085120aa22f8905dad2f513 (diff) | |
download | rails-60b6f546a613816b881902d9edafe54d0cde9695.tar.gz rails-60b6f546a613816b881902d9edafe54d0cde9695.tar.bz2 rails-60b6f546a613816b881902d9edafe54d0cde9695.zip |
Fix incorrect indentation in method comment [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/request_forgery_protection.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/metal/request_forgery_protection.rb b/actionpack/lib/action_controller/metal/request_forgery_protection.rb index 0559fbc6ce..fd7ffcfcd7 100644 --- a/actionpack/lib/action_controller/metal/request_forgery_protection.rb +++ b/actionpack/lib/action_controller/metal/request_forgery_protection.rb @@ -109,10 +109,10 @@ module ActionController #:nodoc: # * <tt>:only/:except</tt> - Only apply forgery protection to a subset of actions. For example <tt>only: [ :create, :create_all ]</tt>. # * <tt>:if/:unless</tt> - Turn off the forgery protection entirely depending on the passed Proc or method reference. # * <tt>:prepend</tt> - By default, the verification of the authentication token will be added at the position of the - # protect_from_forgery call in your application. This means any callbacks added before are run first. This is useful - # when you want your forgery protection to depend on other callbacks, like authentication methods (Oauth vs Cookie auth). + # protect_from_forgery call in your application. This means any callbacks added before are run first. This is useful + # when you want your forgery protection to depend on other callbacks, like authentication methods (Oauth vs Cookie auth). # - # If you need to add verification to the beginning of the callback chain, use <tt>prepend: true</tt>. + # If you need to add verification to the beginning of the callback chain, use <tt>prepend: true</tt>. # * <tt>:with</tt> - Set the method to handle unverified request. # # Valid unverified request handling methods are: |