1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-19 13:19:42 +02:00

Integrate CodeXEditor: dynamic import added (#5)

* Main elements created

* Add Editor to the writing page
This commit is contained in:
Peter Savchenko 2018-09-19 01:47:32 +03:00 committed by GitHub
parent 4326cb22ab
commit e7e64cea3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 15676 additions and 820 deletions

View file

@ -3,6 +3,13 @@ const router = express.Router();
const multer = require('multer')();
const Pages = require('../controllers/pages');
/**
* Create new page form
*/
router.get('/page/new', async (req, res) => {
res.render('pages/form');
});
/**
* GET /page/:id
*