From 6fbd430fbecc5a4d086a81d5d50ce023165b1c51 Mon Sep 17 00:00:00 2001 From: Oswaldo Ferreira Date: Mon, 23 Oct 2017 19:03:28 +0300 Subject: [PATCH] Initial CE backport for saved issue board --- app/helpers/boards_helper.rb | 7 +------ 1 file changed, 1 insertion(+), 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