Update routes.dart

This commit is contained in:
Tobe O 2017-02-12 19:03:02 -05:00 committed by GitHub
parent 127a66e63b
commit 4453f7107b

View file

@ -23,7 +23,7 @@ configureAfter(Angel app) async {
// Set our application up to handle different errors.
var errors = new ErrorHandler(handlers: {
404: (req, res) async =>
res.render('error', {'message': 'No file exists at ${req.path}.'}),
res.render('error', {'message': 'No file exists at /${req.path}.'}),
500: (req, res) async => res.render('error', {'message': req.error.message})
});