diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-03-26 13:22:52 +0100 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-03-26 13:22:52 +0100 |
commit | 2edbd454e8e046d48f16ca5a5465a47ff1b249a2 (patch) | |
tree | 6e92b8df2bf098965dce39a58bd1f913f71d3fae /router.js | |
parent | moved the routerfile. don't need a folder for one file. (diff) | |
download | Divid-2edbd454e8e046d48f16ca5a5465a47ff1b249a2.tar.gz |
made a universal error-file
Diffstat (limited to '')
-rw-r--r-- | router.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' }); }); |