mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
Move showNote to note controller
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
181d5646cf
commit
dee62ce571
3 changed files with 19 additions and 133 deletions
|
@ -26,7 +26,7 @@ router.get('/p/:shortid', slide.showPublishSlide)
|
|||
// publish slide actions
|
||||
router.get('/p/:shortid/:action', slide.publishSlideActions)
|
||||
// get note by id
|
||||
router.get('/:noteId', response.showNote)
|
||||
router.get('/:noteId', noteController.showNote)
|
||||
// note actions
|
||||
router.get('/:noteId/:action', noteController.doAction)
|
||||
// note actions with action id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue