Skip to content

Instantly share code, notes, and snippets.

@dLobatog
Created September 8, 2014 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dLobatog/771e40960f1ccfdd6b86 to your computer and use it in GitHub Desktop.
Save dLobatog/771e40960f1ccfdd6b86 to your computer and use it in GitHub Desktop.
def handle_unverified_request
raise(ActionController::InvalidAuthenticityToken)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment