Add task deletion

This commit is contained in:
Rowan Manning
2013-09-24 20:58:47 +01:00
parent 5a3b4c09c6
commit 23ffae54fa
6 changed files with 56 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ module.exports = route;
// Route definition
function route (app) {
app.express.get('/:id', function (req, res, next) {
app.webservice.task(req.params.id).get({}, function (err, task) {
if (err) {
@@ -46,4 +47,5 @@ function route (app) {
});
});
});
}