forgot break statement

Signed-off-by: Alex Garcia <alexsebastian.garcia@gmail.com>
This commit is contained in:
Alex Garcia 2018-10-27 17:54:01 -07:00
parent 5b789025f3
commit fcf08f89c3

View file

@ -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