aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/router.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-03-26 13:22:52 +0100
committerDennis Eriksen <dennis.se@gmail.com>2013-03-26 13:22:52 +0100
commit2edbd454e8e046d48f16ca5a5465a47ff1b249a2 (patch)
tree6e92b8df2bf098965dce39a58bd1f913f71d3fae /router.js
parentmoved the routerfile. don't need a folder for one file. (diff)
downloadDivid-2edbd454e8e046d48f16ca5a5465a47ff1b249a2.tar.gz
made a universal error-file
Diffstat (limited to '')
-rw-r--r--router.js2
1 files changed, 1 insertions, 1 deletions
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' });
});