From 2edbd454e8e046d48f16ca5a5465a47ff1b249a2 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 26 Mar 2013 13:22:52 +0100 Subject: made a universal error-file --- router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'router.js') diff --git a/router.js b/router.js index d0442b8..6279d62 100644 --- a/router.js +++ b/router.js @@ -45,7 +45,7 @@ module.exports = function(app) { */ app.get('*', function(req, res) { - res.render('error/404', { title: 'Fant ikke siden' }); + res.render('error', { title: '404', text: 'Fant ikke siden' }); }); -- cgit v1.2.3