diff --git a/app.js b/app.js index 29f7b4f..6bc76de 100644 --- a/app.js +++ b/app.js @@ -8,6 +8,7 @@ var indexRouter = require('./routes/index'); var usersRouter = require('./routes/users'); var submitRouter = require('./routes/submit'); var dataRouter = require('./routes/data'); +var manageRouter = require('./routes/manage'); var app = express(); @@ -25,6 +26,8 @@ app.use('/', indexRouter); app.use('/users', usersRouter); app.use('/submit', submitRouter); app.use('/data', dataRouter); +app.use('/manage', manageRouter); + // catch 404 and forward to error handler app.use(function(req, res, next) {