diff options
author | Liming Xie <liming.xie@gmail.com> | 2016-01-05 23:26:02 +0800 |
---|---|---|
committer | Liming Xie <liming.xie@gmail.com> | 2016-01-05 23:26:02 +0800 |
commit | 9bbdacc79a89667e0d6f1ed30c415e5350ad468b (patch) | |
tree | fc6d9918dcd77699295ecb5bdbaf59f9d7c2f479 /models/cards.js | |
parent | 9ef8ebaf09e52d7133ebe08ab1354ef663ee948b (diff) | |
download | wekan-9bbdacc79a89667e0d6f1ed30c415e5350ad468b.tar.gz wekan-9bbdacc79a89667e0d6f1ed30c415e5350ad468b.tar.bz2 wekan-9bbdacc79a89667e0d6f1ed30c415e5350ad468b.zip |
Add notification, allow watch boards / lists / cards
Diffstat (limited to 'models/cards.js')
-rw-r--r-- | models/cards.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/models/cards.js b/models/cards.js index 1895fc69..09c86191 100644 --- a/models/cards.js +++ b/models/cards.js @@ -116,16 +116,12 @@ Cards.helpers({ absoluteUrl() { const board = this.board(); - return FlowRouter.path('card', { + return FlowRouter.url('card', { boardId: board._id, slug: board.slug, cardId: this._id, }); }, - - rootUrl() { - return Meteor.absoluteUrl(this.absoluteUrl().replace('/', '')); - }, }); Cards.mutations({ |