mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-24 15:37:12 -05:00
removed comment. #meaningful contributions
This commit is contained in:
parent
87c57c22cb
commit
d6fbea1367
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user