finished up group list and group details pages - closed #1563

This commit is contained in:
Julian Lam
2014-05-23 09:47:33 -04:00
parent 7afe3bea59
commit f20926f93d
4 changed files with 36 additions and 10 deletions

View File

@@ -54,10 +54,9 @@ module.exports = function(app, middleware, controllers) {
});
app.get('/test', function(req, res) {
var db = require('../database');
db.getSortedSetUnion(['uid:1:posts', 'uid:3:posts'], function(err, pids) {
console.log(err);
res.json(pids);
var a = require('../groups');
a.getLatestMemberPosts('mcg', 5, function() {
res.json(arguments);
});
});
});