summaryrefslogtreecommitdiffstats
path: root/models/cards.js
diff options
context:
space:
mode:
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({