Initial CE backport for saved issue board

This commit is contained in:
Oswaldo Ferreira 2017-10-23 19:03:28 +03:00
parent e829d5a084
commit 6fbd430fbe

View file

@ -21,13 +21,8 @@ module BoardsHelper
end
def current_board_json
board = @board || @boards.first
board.to_json(
only: [:id, :name, :milestone_id],
include: {
milestone: { only: [:title] }
}
only: [:id, :name, :milestone_id]
)
end