summaryrefslogtreecommitdiff
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorAmit Rathi <amit@hypertrack.io>2018-11-12 12:06:59 +0530
committerAmit Rathi <amit@hypertrack.io>2018-11-12 12:06:59 +0530
commitc2407dab3e3ba1471ccebc008179f829d21fe3ce (patch)
treeb6f7165dbe4abb93dab5dde04fd4d6403a273eb0 /app/models/issue.rb
parent8837519445c319a699e0f3ced1c6912c839f3389 (diff)
parentec1d4243b2dbca7df6b793b412717f9b5b3db998 (diff)
downloadgitlab-ce-c2407dab3e3ba1471ccebc008179f829d21fe3ce.tar.gz
Merge branch 'master' into certmanager-temp
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 4ace5d3ab97..0de5e434b02 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -240,7 +240,8 @@ class Issue < ActiveRecord::Base
reference_path: issue_reference,
real_path: url_helper.project_issue_path(project, self),
issue_sidebar_endpoint: url_helper.project_issue_path(project, self, format: :json, serializer: 'sidebar'),
- toggle_subscription_endpoint: url_helper.toggle_subscription_project_issue_path(project, self)
+ toggle_subscription_endpoint: url_helper.toggle_subscription_project_issue_path(project, self),
+ assignable_labels_endpoint: url_helper.project_labels_path(project, format: :json, include_ancestor_groups: true)
)
end