Skip to content

Instantly share code, notes, and snippets.

@rej156
Last active August 29, 2015 14:08
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 rej156/c58fc0ef693dce6757f4 to your computer and use it in GitHub Desktop.
Save rej156/c58fc0ef693dce6757f4 to your computer and use it in GitHub Desktop.
Badger Academy Week 9 - Auth
def authenticate
@user = Token.validate request.headers['AUTH-TOKEN']
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment