From bb07cd1092e5778485b00d66138926f827f1f0cd Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sat, 25 Feb 2017 16:11:22 -0500 Subject: [PATCH] Update routes.dart --- lib/src/routes/routes.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/routes/routes.dart b/lib/src/routes/routes.dart index 846d665..ce3e3a0 100644 --- a/lib/src/routes/routes.dart +++ b/lib/src/routes/routes.dart @@ -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}) });