diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-23 20:22:33 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-23 20:22:33 -0300 |
commit | fcdb5dc55729f4939e9a5064dfee8eef2dec4316 (patch) | |
tree | 1079c98240b4ef6f3d704685c9c4557eb1976886 /actionpack/lib/action_controller/metal/request_forgery_protection.rb | |
parent | c6ec7e825e37a894d47386e9d6ca3021de1eb056 (diff) | |
download | rails-fcdb5dc55729f4939e9a5064dfee8eef2dec4316.tar.gz rails-fcdb5dc55729f4939e9a5064dfee8eef2dec4316.tar.bz2 rails-fcdb5dc55729f4939e9a5064dfee8eef2dec4316.zip |
Remove extra white spaces on ActionPack docs.
Diffstat (limited to 'actionpack/lib/action_controller/metal/request_forgery_protection.rb')
-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 13044a7450..b1d1b5cca6 100644 --- a/actionpack/lib/action_controller/metal/request_forgery_protection.rb +++ b/actionpack/lib/action_controller/metal/request_forgery_protection.rb @@ -63,7 +63,7 @@ module ActionController #:nodoc: # # Valid Options: # - # * <tt>:only/:except</tt> - Passed to the <tt>before_filter</tt> call. Set which actions are verified. + # * <tt>:only/:except</tt> - Passed to the <tt>before_filter</tt> call. Set which actions are verified. def protect_from_forgery(options = {}) self.request_forgery_protection_token ||= :authenticity_token prepend_before_filter :verify_authenticity_token, options @@ -71,7 +71,7 @@ module ActionController #:nodoc: end protected - # The actual before_filter that is used. Modify this to change how you handle unverified requests. + # The actual before_filter that is used. Modify this to change how you handle unverified requests. def verify_authenticity_token unless verified_request? logger.debug "WARNING: Can't verify CSRF token authenticity" if logger @@ -83,7 +83,7 @@ module ActionController #:nodoc: reset_session end - # Returns true or false if a request is verified. Checks: + # Returns true or false if a request is verified. Checks: # # * is it a GET request? Gets should be safe and idempotent # * Does the form_authenticity_token match the given token value from the params? |