Flexibility changes with App, main.hbs

This commit is contained in:
tmshv committed 2017-05-22 12:55:52 +03:00
1 parent be84058aba
commit 7bc34f9710
6 files changed
+25 -10

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ function getArticle() {
)
ctx.type = 'text/html'
ctx.body = await render(path, Component, getMeta(article))
ctx.body = await render(path, Component, getMeta(article), {commentsEnabled: true})
} else {
ctx.status = 404
}