Commit a38cb0d3 authored by Walmyr Lima's avatar Walmyr Lima

Refactor project board list resources

... to remove duplications.
parent 19aab6fe
...@@ -10,10 +10,9 @@ module QA ...@@ -10,10 +10,9 @@ module QA
attribute :assignee attribute :assignee
def api_post_body def api_post_body
{ super.merge({
board_id: board.id,
assignee_id: assignee.id assignee_id: assignee.id
} })
end end
end end
end end
......
...@@ -15,10 +15,9 @@ module QA ...@@ -15,10 +15,9 @@ module QA
end end
def api_post_body def api_post_body
{ super.merge({
board_id: board.id,
label_id: label.id label_id: label.id
} })
end end
end end
end end
......
...@@ -15,10 +15,9 @@ module QA ...@@ -15,10 +15,9 @@ module QA
end end
def api_post_body def api_post_body
{ super.merge({
board_id: board.id,
milestone_id: project_milestone.id milestone_id: project_milestone.id
} })
end end
end end
end end
......
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