story-content: Added edit story modal, added toggle component.

This commit is contained in:
2018-09-23 15:12:26 +02:00
parent 564192c76d
commit a2d949edaf
13 changed files with 196 additions and 4 deletions
+1
View File
@@ -8,6 +8,7 @@ const viewTemplate = require("../../marko/page/story-content/view.marko")
module.exports = async(req, res, next) => {
res.markoAsync(viewTemplate, {
story: storyApi.find(req.params.id),
categories: storyApi.categories(),
selected: {index: true},
})
}