From 6b2fc89a5ac656a9a8abfb09986282214e108fa6 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Tue, 23 Aug 2016 09:59:59 -0400 Subject: [PATCH] move new route up --- controllers/runs.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/controllers/runs.js b/controllers/runs.js index 3dce608..ea0b3f9 100644 --- a/controllers/runs.js +++ b/controllers/runs.js @@ -6,12 +6,12 @@ controller.get('/', function(req, res){ res.send('run index page'); }); -controller.get('/:id', function(req, res){ - res.send('run show page for id: ' + req.params.id); -}); - controller.get('/new', function(req, res){ res.send('run new page'); }); +controller.get('/:id', function(req, res){ + res.send('run show page for id: ' + req.params.id); +}); + module.exports = controller;