Need to work on story redirect after submission, fix url link in stories/show

This commit is contained in:
Nathan Leniz
2015-03-05 19:21:26 +09:00
parent 6a9bfc5ebf
commit 41442a540f
9 changed files with 159 additions and 32 deletions

5
app.js
View File

@@ -294,6 +294,11 @@ app.get(
storyController.comments
);
app.post(
'/stories/submit',
storyController.storySubmission
);
app.get(
'/stories/:storyName',
storyController.returnIndividualStory