diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-11-13 21:36:18 -0200 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-11-20 12:38:53 -0200 |
commit | d2699aea57eaef6adee25bb453a6096b80dda28f (patch) | |
tree | be2ea704731ce5b7126271afa38f53d4f0c6e7e9 /app/controllers/boards | |
parent | bd026b6a28ac410ad455b7b915cafc9782296b6b (diff) | |
download | gitlab-ce-d2699aea57eaef6adee25bb453a6096b80dda28f.tar.gz |
Add issue sidebar and toggle_subscription endpoint in board issues data
Diffstat (limited to 'app/controllers/boards')
-rw-r--r-- | app/controllers/boards/issues_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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] }, |