Update routes.dart

This commit is contained in:
Tobe O 2017-02-25 16:11:22 -05:00 committed by GitHub
parent 9794d05264
commit bb07cd1092

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})
});