diff options
author | David Mehren | 2019-10-27 14:59:44 +0100 |
---|---|---|
committer | David Mehren | 2019-10-27 15:23:38 +0100 |
commit | dee62ce571cc3e33f60499e3ed9cfa4cc5c2f0da (patch) | |
tree | 91737e438aa868598b8044b8357ecddaee3e2810 /lib/web/note/router.js | |
parent | 181d5646cfbde303cf3335c5dea51232d874b0f1 (diff) |
Move showNote to note controller
Signed-off-by: David Mehren <dmehren1@gmail.com>
Diffstat (limited to 'lib/web/note/router.js')
-rw-r--r-- | lib/web/note/router.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web/note/router.js b/lib/web/note/router.js index 39da4c2c..e4f867b2 100644 --- a/lib/web/note/router.js +++ b/lib/web/note/router.js @@ -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 |