Browse Source

the index says nothing

master
Julio Biason 10 years ago
parent
commit
efb311e124
  1. 2
      routes/index.js

2
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"});
};

Loading…
Cancel
Save