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