diff options
author | Ghassen Rjab <rjab.ghassen@gmail.com> | 2017-06-16 23:13:39 +0300 |
---|---|---|
committer | Ghassen Rjab <rjab.ghassen@gmail.com> | 2017-06-16 23:13:39 +0300 |
commit | f4b4c6d1ee717f39342b50295885d0654c3fadbd (patch) | |
tree | 936c7b9104b3b4062be57afa597f6df1d8a22f92 | |
parent | 58b0be82113d51b7c40f54b01de65a6d8f727d74 (diff) | |
download | wekan-f4b4c6d1ee717f39342b50295885d0654c3fadbd.tar.gz wekan-f4b4c6d1ee717f39342b50295885d0654c3fadbd.tar.bz2 wekan-f4b4c6d1ee717f39342b50295885d0654c3fadbd.zip |
Fix export path
-rw-r--r-- | client/components/boards/boardHeader.js | 8 |
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'); |