summaryrefslogtreecommitdiff
path: root/lib/response.js
diff options
context:
space:
mode:
authorAlex Garcia2018-10-27 17:54:01 -0700
committerAlex Garcia2018-10-27 17:54:01 -0700
commitfcf08f89c3fe5f7708db7748e209a13b30c1e121 (patch)
treefa71a5161c9f7542b60ab2b15921ea46e7ac6ded /lib/response.js
parent5b789025f314e4bb154df266b2e6dd148747efa2 (diff)
forgot break statement
Signed-off-by: Alex Garcia <alexsebastian.garcia@gmail.com>
Diffstat (limited to 'lib/response.js')
-rw-r--r--lib/response.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/response.js b/lib/response.js
index 3e38fe68..a400d021 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