diff --git a/routes/index.js b/routes/index.js index 4a543f2..c5d2037 100644 --- a/routes/index.js +++ b/routes/index.js @@ -1,4 +1,4 @@ /* GET home page. */ exports.index = function(req, res){ - res.render('index', { title: 'Express' }); + res.send({"status": "ERROR", "error": "No index method, go away"}); };