posts_list.js 114 B

12345
  1. Template.postsList.helpers({
  2. posts: function () {
  3. return Posts.find({}, { sort: { submitted: -1 }});
  4. }
  5. });