Nesting of comments in view, disabling comment form display button on button click
This commit is contained in:
9
app.js
9
app.js
@@ -303,17 +303,22 @@ app.get(
|
||||
);
|
||||
|
||||
app.post(
|
||||
'/stories/comment/submit',
|
||||
'/stories/comment/',
|
||||
storyController.commentSubmit
|
||||
);
|
||||
|
||||
app.post(
|
||||
'/stories/comment/:id/comment',
|
||||
storyController.commentOnCommentSubmit
|
||||
);
|
||||
|
||||
app.get(
|
||||
'/stories/submit',
|
||||
storyController.submitNew
|
||||
);
|
||||
|
||||
app.post(
|
||||
'/stories/submit',
|
||||
'/stories/',
|
||||
storyController.storySubmission
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user