data: Added change history.
the build was successful

This commit is contained in:
2018-12-08 15:36:54 +01:00
parent fcf2361fbf
commit de3bae3353
14 changed files with 308 additions and 5 deletions
+15
View File
@@ -0,0 +1,15 @@
const express = require("express")
const router = express.Router()
const {changesApi} = require("../../rpdata/api/Change")
const changesTemplate = require("../../marko/page/data/changes.marko")
router.get("/", async(req, res) => {
res.markoAsync(changesTemplate, {
changes: changesApi.list(),
selected: {changes: true},
})
})
module.exports = router