123456789101112131415161718 |
- /**
- * @file
- *
- *
- * User: marand
- * Date: 30/08/15
- * Time: 10:07
- */
- Template.postsList.helpers({
- posts: function () {
- return Posts.find({}, { sort: { submitted: -1 }});
- },
- lastPush: function () {
- var latest = PushFeed.find({}).count();//, { sort: { timestamp: -1}, limit: 1});
- return latest;
- }
- });
|