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

@@ -5,6 +5,6 @@ module.exports = route;
// Route definition
function route (app) {
app.express.get('/new', function (req, res) {
res.send('Create a task');
res.render('new');
});
}