From e661551a522f798daefb679de9a641097b33e172 Mon Sep 17 00:00:00 2001 From: Nathan Leniz Date: Mon, 9 Mar 2015 18:41:07 +0900 Subject: [PATCH] Refactor route to be more rest-ful --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index bbd1979206..cccbc3e08d 100644 --- a/app.js +++ b/app.js @@ -321,7 +321,7 @@ app.get( ); app.get( - '/stories/submit/:newStory', + '/stories/submit/new-story', storyController.preSubmit );