summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-06-17 16:11:14 +0800
committerCheng-Han, Wu2016-06-17 16:11:14 +0800
commit8e351e7e33774f9c4ad15b311f8c3a4725bacfdb (patch)
treea0a33bb2d7c3b5903d4a99f32d6b29b84839dc82 /app.js
parentdbc126b156f301c18d3963cd269dcd1eac040873 (diff)
Add revision api
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app.js b/app.js
index 31bf8680..b8bb316d 100644
--- a/app.js
+++ b/app.js
@@ -457,6 +457,8 @@ app.get("/p/:shortid", response.showPublishSlide);
app.get("/:noteId", response.showNote);
//note actions
app.get("/:noteId/:action", response.noteActions);
+//note actions with action id
+app.get("/:noteId/:action/:actionId", response.noteActions);
// response not found if no any route matches
app.get('*', function (req, res) {
response.errorNotFound(res);