removed comment. #meaningful contributions

This commit is contained in:
mrjvs 2018-11-20 22:09:04 +01:00
parent 87c57c22cb
commit d6fbea1367

View File

@ -85,7 +85,7 @@ blogPostSchema.statics.getPost = function(date, slug, callback) {
'meta.slug': slug
}, callback);
};
// not tested
blogPostSchema.statics.latestPostsShortTemlate = function(amount, callback) {
blogPostModel.find({}).sort({'meta.date': 'desc'}).exec(function(err, posts) {
if (err) return callback(err);