1 2 3 4 5 6
Blaze.registerHelper('currentBoard', function() { var boardId = Session.get('currentBoard'); if (boardId) { return Boards.findOne(boardId); } });