Created
February 17, 2015 17:40
-
-
Save PavelDemyanenko/cbe16948bfd344c69470 to your computer and use it in GitHub Desktop.
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
index: function(req, res) { | |
User.findOne(req.token).exec(function(err, message) { | |
// Work with the user here | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment