This commit is contained in:
Luke Vella 2015-01-12 12:09:09 +01:00
parent b72dfc474e
commit aff8ee6124
10 changed files with 232 additions and 108 deletions

View file

@ -2,7 +2,9 @@ module.exports = function(app) {
// Insert routes below
app.use('/api/event', require('../api/event'));
app.use('/about', function(req, res){
res.render('about.ejs');
});
// All undefined asset or api routes should return a 404
// app.route('/:url(api|auth|components|app|bower_components|assets)/*')
// .get(errors[404]);