diff --git a/controllers/story.js b/controllers/story.js index d73686aa02..e5d1788e0a 100644 --- a/controllers/story.js +++ b/controllers/story.js @@ -44,7 +44,7 @@ exports.hotJSON = function(req, res) { }); }; -exports.recentJSON = function(req, res) { +exports.recentJSON = function(req, res, next) { var story = Story.find({}).sort({'timePosted': -1}).limit(100); story.exec(function(err, stories) { if (err) {