Last active
August 29, 2015 14:08
-
-
Save ericjuta/c58fc0ef693dce6757f4 to your computer and use it in GitHub Desktop.
Badger Academy Week 9 - Auth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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