protected Method

RequestForgeryProtection.verify_authenticity_token

The actual before_filter that is used. Modify this to change how you handle unverified requests.

Source Code

# File action_controller/request_forgery_protection.rb, line 85
def verify_authenticity_token
  verified_request? || raise(ActionController::InvalidAuthenticityToken)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.