diff options
Diffstat (limited to 'client/components/boards')
-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'); |