diff --git a/controllers/runs.js b/controllers/runs.js index 4c35ac3..326f550 100644 --- a/controllers/runs.js +++ b/controllers/runs.js @@ -11,7 +11,7 @@ controller.get('/new', function(req, res){ }); controller.get('/:id', function(req, res){ - res.send('run show page for id: ' + req.params.id); + res.json(runs[req.params.id]); }); module.exports = controller;