Move to Mongoose 4.0, begin implementation of streak

This commit is contained in:
Nathan Leniz
2015-03-28 11:34:12 +09:00
parent 29e29d5687
commit efd7707ac8
3 changed files with 68 additions and 15 deletions

2
app.js
View File

@ -384,6 +384,8 @@ app.post(
app.all('/account', passportConf.isAuthenticated);
app.get('/account/api', userController.getAccountAngular);
app.get('/user/streak', userController.getStreak);
/**
* API routes
*/