summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorGhassen Rjab <rjab.ghassen@gmail.com>2017-06-16 23:13:39 +0300
committerGhassen Rjab <rjab.ghassen@gmail.com>2017-06-16 23:13:39 +0300
commitf4b4c6d1ee717f39342b50295885d0654c3fadbd (patch)
tree936c7b9104b3b4062be57afa597f6df1d8a22f92 /client/components
parent58b0be82113d51b7c40f54b01de65a6d8f727d74 (diff)
downloadwekan-f4b4c6d1ee717f39342b50295885d0654c3fadbd.tar.gz
wekan-f4b4c6d1ee717f39342b50295885d0654c3fadbd.tar.bz2
wekan-f4b4c6d1ee717f39342b50295885d0654c3fadbd.zip
Fix export path
Diffstat (limited to 'client/components')
-rw-r--r--client/components/boards/boardHeader.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js
index ac5f9c33..a6b22acf 100644
--- a/client/components/boards/boardHeader.js
+++ b/client/components/boards/boardHeader.js
@@ -19,7 +19,13 @@ Template.boardMenuPopup.helpers({
exportUrl() {
const boardId = Session.get('currentBoard');
const loginToken = Accounts._storedLoginToken();
- return FlowRouter.url(`api/boards/${boardId}/export?authToken=${loginToken}`);
+ var params = {
+ boardId: boardId
+ };
+ var queryParams = {
+ authToken: loginToken
+ }
+ return FlowRouter.path('/api/boards/:boardId/export', params, queryParams);
},
exportFilename() {
const boardId = Session.get('currentBoard');