1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-09 15:35:25 +02:00

Update pages.js

This commit is contained in:
Куштанов Руслан Камилевич 2018-12-08 00:09:21 +03:00
parent ba88799183
commit 71842a6c35

View file

@ -44,7 +44,6 @@ router.get('/page/:id', async (req, res, next) => {
let page = await Pages.get(pageId);
let parentTitle = (await page.parent).title;
console.log(parentTitle);
res.render('pages/page', {
page, parentTitle