diff options
author | Felipe Artur <felipefac@gmail.com> | 2018-04-05 20:57:48 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2018-04-05 20:58:49 +0300 |
commit | 7c6f4adac9bc2f0bba46a4267f1081c7542e4dc4 (patch) | |
tree | 3c3f47365a5bcec9e5d0ebc7e1a4f094afcccc76 /app | |
parent | 62574be35d5a92c6c825912e1ab9969c5acdb7d9 (diff) |
Fix more specs
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/boards/models/issue.js | 2 | ||||
-rw-r--r-- | app/services/boards/issues/list_service.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/boards/models/issue.js b/app/assets/javascripts/boards/models/issue.js index 85f98615cf4..b381d48d625 100644 --- a/app/assets/javascripts/boards/models/issue.js +++ b/app/assets/javascripts/boards/models/issue.js @@ -115,7 +115,7 @@ class ListIssue { } const projectPath = this.project ? this.project.path : ''; - return Vue.http.patch(this.path + '.json', data); + return Vue.http.patch(`${this.path}.json`, data); } } diff --git a/app/services/boards/issues/list_service.rb b/app/services/boards/issues/list_service.rb index 8a1796a1096..ac70a99c2c5 100644 --- a/app/services/boards/issues/list_service.rb +++ b/app/services/boards/issues/list_service.rb @@ -53,7 +53,7 @@ module Boards end def set_scope - params[:include_subgroups] = true if board.group_board? + params[:include_subgroups] = board.group_board? end def board_label_ids |