Skip to content

Instantly share code, notes, and snippets.

@dburger
Created November 23, 2008 21:17
Show Gist options
  • Save dburger/28202 to your computer and use it in GitHub Desktop.
Save dburger/28202 to your computer and use it in GitHub Desktop.
def form_auth_token
(protect_against_forgery?) ? form_authenticity_token : ''
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment