diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-10-23 19:03:28 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-10-31 14:58:09 +0300 |
commit | 6fbd430fbecc5a4d086a81d5d50ce023165b1c51 (patch) | |
tree | b505cd0e4e87bf1a47a397bcb0cf801838e34f45 /app/helpers/boards_helper.rb | |
parent | e829d5a08455e608ba5f054ffa65a2af0fe0393c (diff) |
Initial CE backport for saved issue board
Diffstat (limited to 'app/helpers/boards_helper.rb')
-rw-r--r-- | app/helpers/boards_helper.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/helpers/boards_helper.rb b/app/helpers/boards_helper.rb index 7112c6ee470..2b4e89c50dd 100644 --- a/app/helpers/boards_helper.rb +++ b/app/helpers/boards_helper.rb @@ -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 |