From 82cd27a9b0cea2675ca8e9f61a56a549a42ab0d8 Mon Sep 17 00:00:00 2001 From: Vick Vasquez Date: Tue, 6 Jan 2015 04:07:37 -0600 Subject: [PATCH] Se borro la var employeRoutes innecesario --- app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 5807d9c..0b7e1f1 100644 --- a/app.js +++ b/app.js @@ -49,7 +49,8 @@ app.get('/', function (req, res) { }); mongoose.connect('mongodb://localhost:27017/employees'); -var employeeRoutes = require('./routes/employee.js')(app); +//var employeeRoutes = require('./routes/employee.js')(app); +require('./routes/employee.js')(app); var port = 3000;