Final Update From Caleb

Incorporated all Caleb's changes
This commit is contained in:
2018-08-23 16:58:50 -07:00
parent 2593d0f977
commit 14bd554d35
206 changed files with 2661 additions and 84 deletions

View File

@@ -0,0 +1,15 @@
import './CurrentBoard.html';
Tracker.autorun(function() {
Meteor.subscribe("pages");
});
Template.CurrentBoard.helpers({
currentBoardHTML: function() {
let doc = Meteor.collections.Pages.findOne({name: 'Board'});
return doc === undefined ? "" : doc.html;
}
});