Commit b1da71f2 authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

Merge branch 'MLAB-383' into 'testing'

MLAB-383: fix broken links

See merge request !71
parents 8361c2c4 c40a4119
Pipeline #2594 passed with stage
in 17 seconds
...@@ -69,14 +69,14 @@ app.use(function(req, res, next) { ...@@ -69,14 +69,14 @@ app.use(function(req, res, next) {
require('./routes/routes-account')(app, config, passport, i18n); require('./routes/routes-account')(app, config, passport, i18n);
// Handle 404 // Handle 404
app.use(function (req, res, next) { app.use(function (req, res) {
res.status(404).render('./DE/404') res.status(404).render('DE/404')
}) })
// Handle 500 - any server error // Handle 500 - any server error
app.use(function (err, req, res, next) { app.use(function (err, req, res, next) {
console.error(err.stack) console.error(err.stack)
res.status(500).render('./DE/500', { res.status(500).render('DE/500', {
error: err error: err
}) })
}) })
......
...@@ -38,7 +38,7 @@ html(lang="de") ...@@ -38,7 +38,7 @@ html(lang="de")
nav(aria-label="breadcrumb") nav(aria-label="breadcrumb")
ol(class="breadcrumb") ol(class="breadcrumb")
li(class="breadcrumb-item") li(class="breadcrumb-item")
a(href="/account") Konto a(href="/account/") Konto
li(class="breadcrumb-item") li(class="breadcrumb-item")
a(href="/account/services") Projekte und Dienste a(href="/account/services") Projekte und Dienste
li(class="breadcrumb-item active" aria-current="page") Neue Projektinformation li(class="breadcrumb-item active" aria-current="page") Neue Projektinformation
......
...@@ -38,7 +38,7 @@ html(lang="de") ...@@ -38,7 +38,7 @@ html(lang="de")
nav(aria-label="breadcrumb") nav(aria-label="breadcrumb")
ol(class="breadcrumb") ol(class="breadcrumb")
li(class="breadcrumb-item") li(class="breadcrumb-item")
a(href="/account") Konto a(href="/account/") Konto
li(class="breadcrumb-item active" aria-current="page") Projekte und Dienste li(class="breadcrumb-item active" aria-current="page") Projekte und Dienste
div(class="container") div(class="container")
......
...@@ -38,7 +38,7 @@ html(lang="de") ...@@ -38,7 +38,7 @@ html(lang="de")
nav(aria-label="breadcrumb") nav(aria-label="breadcrumb")
ol(class="breadcrumb") ol(class="breadcrumb")
li(class="breadcrumb-item") li(class="breadcrumb-item")
a(href="/account") Konto a(href="/account/") Konto
li(class="breadcrumb-item") li(class="breadcrumb-item")
a(href="/account/services") Projekte und Dienste a(href="/account/services") Projekte und Dienste
li(class="breadcrumb-item active" aria-current="page") Information aktualisieren li(class="breadcrumb-item active" aria-current="page") Information aktualisieren
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment