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
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue