Make the "new task" form functional

This commit is contained in:
Rowan Manning
2013-09-16 11:09:49 +01:00
parent a7aad37ea0
commit 7fd93d114f
5 changed files with 54 additions and 2 deletions

1
app.js
View File

@@ -24,6 +24,7 @@ function initApp (config, callback) {
maxAge: (process.env.NODE_ENV === 'production' ? 604800 : 0)
}));
app.express.use(express.compress());
app.express.use(express.bodyParser());
// View engine
app.express.set('views', __dirname + '/view');