added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js

This commit is contained in:
barisusakli
2014-03-11 03:39:41 -04:00
parent 8873963946
commit 3d68c7c6b6
8 changed files with 244 additions and 247 deletions

View File

@@ -52,5 +52,9 @@ module.exports = function(app, middleware, controllers) {
}
});
});
app.get('/test', function(req, res) {
res.send(200);
});
});
};