editing of posts

This commit is contained in:
Julian Lam
2013-05-09 10:20:25 -04:00
parent f218e0f3a7
commit e9a552eab4
6 changed files with 89 additions and 16 deletions

View File

@@ -314,6 +314,12 @@ var express = require('express'),
});
}
app.get('/test', function(req, res) {
global.modules.posts.getRawContent(11, function(post) {
res.send(JSON.stringify(post));
});
});
// TODO move user related logic into another file ^^^^^^^^^^^^^^^^^^^^^^^
}(WebServer));