Add basic views

This commit is contained in:
Rowan Manning
2013-09-13 17:20:38 +01:00
parent 433aecd972
commit f951f7c734
10 changed files with 81 additions and 3 deletions

View File

@@ -9,7 +9,9 @@ function route (app) {
if (err) {
return next(err);
}
res.send(tasks);
res.render('index', {
tasks: tasks
});
});
});
}