diff --git a/app.js b/app.js index e0c604ab5676aea8f57d21a044678128e8952e57..8ff8ef12d7bf1369b82666981e8def19dbf591f0 100644 --- a/app.js +++ b/app.js @@ -69,14 +69,14 @@ app.use(function(req, res, next) { require('./routes/routes-account')(app, config, passport, i18n); // Handle 404 -app.use(function (req, res, next) { - res.status(404).render('./DE/404') +app.use(function (req, res) { + res.status(404).render('DE/404') }) // Handle 500 - any server error app.use(function (err, req, res, next) { console.error(err.stack) - res.status(500).render('./DE/500', { + res.status(500).render('DE/500', { error: err }) }) diff --git a/views/DE/account/newInformation.pug b/views/DE/account/newInformation.pug index 8ec6aebd5c759ae72c05b1600309b29879d54cc9..179770cdc0f2d4deb05725c6f16711cd8ab41ba6 100644 --- a/views/DE/account/newInformation.pug +++ b/views/DE/account/newInformation.pug @@ -38,7 +38,7 @@ html(lang="de") nav(aria-label="breadcrumb") ol(class="breadcrumb") li(class="breadcrumb-item") - a(href="/account") Konto + a(href="/account/") Konto li(class="breadcrumb-item") a(href="/account/services") Projekte und Dienste li(class="breadcrumb-item active" aria-current="page") Neue Projektinformation diff --git a/views/DE/account/services.pug b/views/DE/account/services.pug index cd9e05e9d4df2e17deb5da19f88be873e4f28f0c..7d3b56aaf89079241235c247be967067db1dfb19 100644 --- a/views/DE/account/services.pug +++ b/views/DE/account/services.pug @@ -38,7 +38,7 @@ html(lang="de") nav(aria-label="breadcrumb") ol(class="breadcrumb") li(class="breadcrumb-item") - a(href="/account") Konto + a(href="/account/") Konto li(class="breadcrumb-item active" aria-current="page") Projekte und Dienste div(class="container") diff --git a/views/DE/account/updateInformation.pug b/views/DE/account/updateInformation.pug index b1bf17aea48139080d61d74daa16191528c9947f..d2a4fd152b4ce07d531453c54d907661ba40100e 100644 --- a/views/DE/account/updateInformation.pug +++ b/views/DE/account/updateInformation.pug @@ -38,7 +38,7 @@ html(lang="de") nav(aria-label="breadcrumb") ol(class="breadcrumb") li(class="breadcrumb-item") - a(href="/account") Konto + a(href="/account/") Konto li(class="breadcrumb-item") a(href="/account/services") Projekte und Dienste li(class="breadcrumb-item active" aria-current="page") Information aktualisieren