From 8e351e7e33774f9c4ad15b311f8c3a4725bacfdb Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Fri, 17 Jun 2016 16:11:14 +0800 Subject: Add revision api --- app.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app.js') 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); -- cgit v1.2.3