From efb311e124623f0a5d92a6f6cf7b09ea134e0b09 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Wed, 5 Mar 2014 11:47:19 -0300 Subject: [PATCH] the index says nothing --- routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"}); };