mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
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