From 4453f7107b0aa4e6c0625a6f3ec2081af95753b0 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sun, 12 Feb 2017 19:03:02 -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 60923d3b..7ec4c03c 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}) });