Comment submission now works on main story, need to refresh page after submission to display new comment

This commit is contained in:
Nathan Leniz
2015-03-06 06:08:40 +09:00
parent 8552a06ac6
commit 046a209637
3 changed files with 66 additions and 10 deletions

5
app.js
View File

@@ -289,6 +289,11 @@ app.get(
storyController.json
);
app.post(
'/stories/comment/submit',
storyController.commentSubmit
);
app.get(
'/stories/comments/:id',
storyController.comments