summaryrefslogtreecommitdiffstats
path: root/client/config/helpers.js
blob: 01a28f9b7259b5eb990ec6324aaa30165f64c482 (plain)
1
2
3
4
5
6
Blaze.registerHelper('currentCard', function() {
  var cardId = Session.get('currentCard');
  if (cardId) {
    return Cards.findOne(cardId);
  }
});