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

@@ -10,7 +10,8 @@ function route (app) {
return next(err);
}
res.render('index', {
tasks: tasks
tasks: tasks,
deleted: (typeof req.query.deleted !== 'undefined')
});
});
});