Commit 3803c3db authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Revert "Restore current_board_json method"

This reverts commit 3c7eebdd.
parent 33fb8e83
...@@ -62,16 +62,5 @@ module EE ...@@ -62,16 +62,5 @@ module EE
s_("IssueBoards|Board") s_("IssueBoards|Board")
end end
end end
def current_board_json
board = @board || @boards.first
board.to_json(
only: [:id, :name, :milestone_id],
include: {
milestone: { only: [:title] }
}
)
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