diff --git a/lib/response.js b/lib/response.js index 3e38fe6..a400d02 100644 --- a/lib/response.js +++ b/lib/response.js @@ -470,6 +470,7 @@ function publishNoteActions (req, res, next) { switch (action) { case 'download': actionDownload(req, res, note) + break case 'edit': res.redirect(config.serverURL + '/' + (note.alias ? note.alias : models.Note.encodeNoteId(note.id))) break