Code refactoring, renamed token to accessToken in user schema, comment strings for routes,

This commit is contained in:
Sahat Yalkabov
2013-12-20 13:48:33 -05:00
parent 2f0fe0eb27
commit 36ba87ce09
4 changed files with 54 additions and 42 deletions

View File

@@ -1,3 +1,7 @@
/**
* GET /
* Home page
*/
exports.index = function(req, res) {
res.render('index', {
user: req.user,