mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -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) {
|
||||
case 'download':
|
||||
actionDownload(req, res, note)
|
||||
break
|
||||
case 'edit':
|
||||
res.redirect(config.serverURL + '/' + (note.alias ? note.alias : models.Note.encodeNoteId(note.id)))
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue