diff --git a/CHANGELOG.md b/CHANGELOG.md index e8684ebba..8062cbdd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,11 @@ This release adds the following new features: and fixes the following bugs: -* [Fix IE 11 drag board to scroll](https://github.com/wekan/wekan/pull/1052). +* [Fix IE 11 drag board to scroll](https://github.com/wekan/wekan/pull/1052); +* [Fix Export Wekan board](https://github.com/wekan/wekan/pull/1067). -Thanks to GitHub users BaobabCoder, nebulade and nztqa for their -contributions. +Thanks to GitHub users BaobabCoder, GhassenRjab, nebulade and nztqa +for their contributions. # v0.23 2017-05-21 Wekan release diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index ac5f9c33c..06defbfaa 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -17,9 +17,13 @@ Template.boardMenuPopup.events({ Template.boardMenuPopup.helpers({ exportUrl() { - const boardId = Session.get('currentBoard'); - const loginToken = Accounts._storedLoginToken(); - return FlowRouter.url(`api/boards/${boardId}/export?authToken=${loginToken}`); + const params = { + boardId: Session.get('currentBoard'), + }; + const queryParams = { + authToken: Accounts._storedLoginToken(), + }; + return FlowRouter.path('/api/boards/:boardId/export', params, queryParams); }, exportFilename() { const boardId = Session.get('currentBoard');