Code refactoring, renamed token to accessToken in user schema, comment strings for routes,
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* GET /
|
||||
* Home page
|
||||
*/
|
||||
exports.index = function(req, res) {
|
||||
res.render('index', {
|
||||
user: req.user,
|
||||
|
Reference in New Issue
Block a user