From 4aa24795e99c2d9770116f68bdc02c9094afd553 Mon Sep 17 00:00:00 2001 From: nanalelfe Date: Wed, 27 Jul 2016 08:13:33 -0400 Subject: Added comments to index.js --- routes/index.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'routes/index.js') diff --git a/routes/index.js b/routes/index.js index f3cea12..4117e41 100644 --- a/routes/index.js +++ b/routes/index.js @@ -80,7 +80,6 @@ router.get('/exams/:id', function(req, res, next) { var errors = req.validationErrors(); if (errors){ - console.log("id " + errors); req.session.errors = errors; req.session.success = false; res.redirect('/'); @@ -89,10 +88,8 @@ router.get('/exams/:id', function(req, res, next) { var minExamInfoArray = []; dbFile.get_all_exams(req.params.id, function (exams) { if (exams.length == 0){ - console.log("Nothing was found"); } else { - //console.log(exams); //only pass over the information that is necessary for the exams page for (var i = 0; i