import { Template } from 'meteor/templating';
import { Contacts } from '../../api/contacts/contacts.js';
import './home-page.html';

Template.Home_Page.helpers({

  /**
   * @returns {*} All of the Stuff documents.
   */
  contactsList() {
    return Contacts.find({owner: Meteor.userId()});
  },

});



Template.Home_Page.onCreated(function onCreated() {
  this.subscribe('Contacts');
});