diff options
author | Valery Sizov <valery@gitlab.com> | 2017-10-13 18:36:24 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2017-10-13 18:36:24 +0300 |
commit | da006a66afb7c70761b81add143f861be929be35 (patch) | |
tree | ecac54522c51ec549f8500cf58a0e2494a362994 /app/assets/javascripts/boards | |
parent | fba189053cc38ec3b3721b9a4ebb0b9b91de3680 (diff) |
Fix feature specs for new scoped urls for boards
Diffstat (limited to 'app/assets/javascripts/boards')
-rw-r--r-- | app/assets/javascripts/boards/services/board_service.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/boards/services/board_service.js b/app/assets/javascripts/boards/services/board_service.js index 38eea38f949..97e80afa3f8 100644 --- a/app/assets/javascripts/boards/services/board_service.js +++ b/app/assets/javascripts/boards/services/board_service.js @@ -7,7 +7,7 @@ class BoardService { this.boards = Vue.resource(`${boardsEndpoint}{/id}.json`, {}, { issues: { method: 'GET', - url: `${gon.relative_url_root}/boards/${boardId}/issues.json`, + url: `${gon.relative_url_root}/-/boards/${boardId}/issues.json`, } }); this.lists = Vue.resource(`${listsEndpoint}{/id}`, {}, { @@ -16,7 +16,7 @@ class BoardService { url: `${listsEndpoint}/generate.json` } }); - this.issue = Vue.resource(`${gon.relative_url_root}/boards/${boardId}/issues{/id}`, {}); + this.issue = Vue.resource(`${gon.relative_url_root}/-/boards/${boardId}/issues{/id}`, {}); this.issues = Vue.resource(`${listsEndpoint}{/id}/issues`, {}, { bulkUpdate: { method: 'POST', |