From d2699aea57eaef6adee25bb453a6096b80dda28f Mon Sep 17 00:00:00 2001 From: Oswaldo Ferreira Date: Mon, 13 Nov 2017 21:36:18 -0200 Subject: Add issue sidebar and toggle_subscription endpoint in board issues data --- app/controllers/boards/issues_controller.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/controllers/boards') diff --git a/app/controllers/boards/issues_controller.rb b/app/controllers/boards/issues_controller.rb index 737656b3dcc..f8049b20b9f 100644 --- a/app/controllers/boards/issues_controller.rb +++ b/app/controllers/boards/issues_controller.rb @@ -84,6 +84,7 @@ module Boards resource.as_json( only: [:id, :iid, :project_id, :title, :confidential, :due_date, :relative_position], labels: true, + sidebar_endpoints: true, include: { project: { only: [:id, :path] }, assignees: { only: [:id, :name, :username], methods: [:avatar_url] }, -- cgit v1.2.3