summaryrefslogtreecommitdiffstats
path: root/models/cards.js
diff options
context:
space:
mode:
authorLiming Xie <liming.xie@gmail.com>2016-01-05 23:26:02 +0800
committerLiming Xie <liming.xie@gmail.com>2016-01-05 23:26:02 +0800
commit9bbdacc79a89667e0d6f1ed30c415e5350ad468b (patch)
treefc6d9918dcd77699295ecb5bdbaf59f9d7c2f479 /models/cards.js
parent9ef8ebaf09e52d7133ebe08ab1354ef663ee948b (diff)
downloadwekan-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.js6
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({