Story submission now with a description, refactor show to display description above comment box

This commit is contained in:
Nathan Leniz
2015-03-07 18:26:49 +09:00
parent 9bea52d42f
commit a3769f6507
7 changed files with 53 additions and 32 deletions

5
app.js
View File

@@ -327,6 +327,11 @@ app.post(
storyController.newStory
);
app.post(
'/stories/',
storyController.storySubmission
);
app.get(
'/stories/hot',
storyController.hot