Commit c75ae237 authored by Rémy Coutable's avatar Rémy Coutable

Add :weight as an allowed serializable field in app/controllers/boards/issues_controller.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 357aaafb
......@@ -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?,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment