Commit 6fbd430f authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Initial CE backport for saved issue board

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