summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2016-01-05 13:37:15 +0100
committerMaxime Quandalle <maxime@quandalle.com>2016-01-05 13:37:15 +0100
commit701262a4394ea3fad1d64275930804db4f4ba182 (patch)
tree8cf1a9fd052008aa2d7ffa60102dc699018a92a8 /client/components/boards
parent9ef8ebaf09e52d7133ebe08ab1354ef663ee948b (diff)
downloadwekan-701262a4394ea3fad1d64275930804db4f4ba182.tar.gz
wekan-701262a4394ea3fad1d64275930804db4f4ba182.tar.bz2
wekan-701262a4394ea3fad1d64275930804db4f4ba182.zip
Favor FlowRouter.url over Meteor.absoluteUrl
It hides the leading slash treatment as an hidden implementation detail.
Diffstat (limited to 'client/components/boards')
-rw-r--r--client/components/boards/boardHeader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js
index acf40f44..fb19d9c6 100644
--- a/client/components/boards/boardHeader.js
+++ b/client/components/boards/boardHeader.js
@@ -19,7 +19,7 @@ Template.boardMenuPopup.helpers({
exportUrl() {
const boardId = Session.get('currentBoard');
const loginToken = Accounts._storedLoginToken();
- return Meteor.absoluteUrl(`api/boards/${boardId}?authToken=${loginToken}`);
+ return FlowRouter.url(`api/boards/${boardId}?authToken=${loginToken}`);
},
exportFilename() {
const boardId = Session.get('currentBoard');