module InvalidAuthenticityTokenRescue::RescueFromInvalidAuthenticityToken::ClassMethods

Public Instance Methods

rescue_from_invalid_authenticity_token() click to toggle source
# File lib/invalid_authenticity_token_rescue.rb, line 9
def rescue_from_invalid_authenticity_token
  rescue_from ActionController::InvalidAuthenticityToken, with: :invalid_authenticity_token
end