Remove validations for now until we really use them.

This commit is contained in:
gaba
2016-11-04 13:28:40 -07:00
parent 65a50ea0ab
commit 19a7de5c98
-9
View File
@@ -3,15 +3,6 @@ const Comment = require('../../../models/comment');
const router = express.Router();
//==============================================================================
// Validations on parameters
//==============================================================================
router.param('comment_id', function(res, req, next, comment_id) {
req.comment_id = comment_id;
next();
});
//==============================================================================
// Routes
//==============================================================================