Change note action "share" to "publish" to avoid misleading

This commit is contained in:
Wu Cheng-Han 2015-07-06 13:51:55 +08:00
parent 85c67212ad
commit 04eef71b11
4 changed files with 16 additions and 16 deletions

8
app.js
View file

@ -352,10 +352,10 @@ app.post('/uploadimage', function (req, res) {
app.get("/new", response.newNote);
//get features
app.get("/features", response.showFeatures);
//get share note
app.get("/s/:shortid", response.showShareNote);
//share note actions
app.get("/s/:shortid/:action", response.shareNoteActions);
//get publish note
app.get("/s/:shortid", response.showPublishNote);
//publish note actions
app.get("/s/:shortid/:action", response.publishNoteActions);
//get note by id
app.get("/:noteId", response.showNote);
//note actions