Remove JSON route for now

This commit is contained in:
Rowan Manning
2013-09-25 14:43:41 +01:00
parent 0e7d1596ee
commit a46263bd29

View File

@@ -27,19 +27,4 @@ function route (app) {
});
});
app.express.get('/:id.json', function (req, res, next) {
app.webservice.task(req.params.id).get({}, function (err, task) {
if (err) {
return next();
}
app.webservice.task(req.params.id).results({}, function (err, results) {
if (err) {
return next(err);
}
task.results = results;
res.send(task);
});
});
});
}