test branch

This commit is contained in:
Baris Usakli
2013-07-02 13:20:10 -04:00
parent 3c6d39ab89
commit 67247876ff

View File

@@ -295,7 +295,17 @@ var express = require('express'),
app.get('/api/:method/:id*', api_method);
app.all('/test', function(req, res) {
res.send();
//res.send();
/*posts.getPostsByPids([1,2,3], 1, function(data) {
res.send(data);
});*/
posts.getPostsByTid(1, 1, 0, 10, function(data) {
res.send(data);
});
});
//START TODO: MOVE TO GRAPH.JS