Changed from post to put for since updating not creatings

This commit is contained in:
MrRenter
2015-04-18 11:53:46 -04:00
parent 790a4f941d
commit b2f18a790a
3 changed files with 17 additions and 13 deletions

2
app.js
View File

@ -470,7 +470,7 @@ app.post(
storyController.commentOnCommentSubmit
);
app.post(
app.put(
'/stories/comment/:id/edit',
storyController.commentEdit
);