chore: change Comments

This commit is contained in:
Khaled Garbaya
2017-10-18 14:08:18 +02:00
committed by Benedikt Rötsch
parent 2831fb722c
commit 703a5e4d3a

View File

@@ -3,7 +3,7 @@ const { getLandingPage } = require('../services/contentful')
const { catchErrors } = require('../handlers/errorHandlers') const { catchErrors } = require('../handlers/errorHandlers')
const router = express.Router() const router = express.Router()
/* GET the about landing page. */ /* GET the about page. */
router.get('/', catchErrors(async function (req, res, next) { router.get('/', catchErrors(async function (req, res, next) {
const landingPage = await getLandingPage('about', res.locals.currentLocale.code, res.locals.currentApi.id) const landingPage = await getLandingPage('about', res.locals.currentLocale.code, res.locals.currentApi.id)
res.render('landingPage', { title: 'About', landingPage }) res.render('landingPage', { title: 'About', landingPage })