summaryrefslogtreecommitdiffstats
path: root/client/components/boards/helpers.js
blob: 969f8564e3fa7ed1cd272608d29dad4ba4c319bb (plain)
1
2
3
4
5
6
Blaze.registerHelper('currentBoard', function() {
  var boardId = Session.get('currentBoard');
  if (boardId) {
    return Boards.findOne(boardId);
  }
});