forgot break statement
Signed-off-by: Alex Garcia <alexsebastian.garcia@gmail.com>
This commit is contained in:
parent
5b789025f3
commit
fcf08f89c3
1 changed files with 1 additions and 0 deletions
|
@ -470,6 +470,7 @@ function publishNoteActions (req, res, next) {
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case 'download':
|
case 'download':
|
||||||
actionDownload(req, res, note)
|
actionDownload(req, res, note)
|
||||||
|
break
|
||||||
case 'edit':
|
case 'edit':
|
||||||
res.redirect(config.serverURL + '/' + (note.alias ? note.alias : models.Note.encodeNoteId(note.id)))
|
res.redirect(config.serverURL + '/' + (note.alias ? note.alias : models.Note.encodeNoteId(note.id)))
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue