diff options
author | Eugenia Grieff <egrieff@gitlab.com> | 2019-08-08 06:25:20 +0000 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-08-08 06:25:20 +0000 |
commit | 01950c3944738b918666230b7d36304cd17ce823 (patch) | |
tree | da80aac2ece4cd304e043f3e70a9b7dcf90d013d /app/models/issue.rb | |
parent | 3ad34c3a243cda19e73fbda0c9682e0a1c16c10a (diff) | |
download | gitlab-ce-01950c3944738b918666230b7d36304cd17ce823.tar.gz |
CE port for bulk updating group labels
- Original EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14827
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 164858dc432..bc5ec94081b 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -43,6 +43,7 @@ class Issue < ApplicationRecord validates :project, presence: true alias_attribute :parent_ids, :project_id + alias_method :issuing_parent, :project scope :in_projects, ->(project_ids) { where(project_id: project_ids) } |