diff options
author | Rémy Coutable <remy@rymai.me> | 2018-05-16 21:20:11 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-05-16 21:20:11 +0300 |
commit | c75ae23729771869591b6bc4f1528581d3bfe999 (patch) | |
tree | dd40e76f952b3db09277ed4256e9967396e3f479 /app/controllers/boards/issues_controller.rb | |
parent | 357aaafb73a6d8c4e0185f193d67a06ed1b79832 (diff) |
Add :weight as an allowed serializable field in app/controllers/boards/issues_controller.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/controllers/boards/issues_controller.rb')
-rw-r--r-- | app/controllers/boards/issues_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/boards/issues_controller.rb b/app/controllers/boards/issues_controller.rb index 7d7ff217e5d..09e143c23e8 100644 --- a/app/controllers/boards/issues_controller.rb +++ b/app/controllers/boards/issues_controller.rb @@ -94,7 +94,7 @@ module Boards def serialize_as_json(resource) resource.as_json( - only: [:id, :iid, :project_id, :title, :confidential, :due_date, :relative_position], + only: [:id, :iid, :project_id, :title, :confidential, :due_date, :relative_position, :weight], labels: true, issue_endpoints: true, include_full_project_path: board.group_board?, |