hudozka app added edit from 2018.02

This commit is contained in:
tmshv committed 2019-05-29 22:29:21 +03:00
1 parent 6805e07434
commit 759f1217b5
57 files changed
+3630 -1247

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
const {get} = require('koa-route')
const {renderEdit} = require('../lib/render')
function getEdit() {
return get('/edit', async ctx => {
ctx.body = await renderEdit()
})
}
exports.getEdit = getEdit