Initial CE backport for saved issue board
This commit is contained in:
parent
e829d5a084
commit
6fbd430fbe
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue