diff options
author | Jarka Kadlecová <jarka@gitlab.com> | 2018-01-05 10:15:03 +0100 |
---|---|---|
committer | Jarka Kadlecová <jarka@gitlab.com> | 2018-01-05 13:40:31 +0100 |
commit | 153ea1830153b7d7c3be5ac2e7ca60486c9b2700 (patch) | |
tree | fe7010401e568032637b0c5c37c49eeb8d7226fc /app/models | |
parent | 304851dc90c06d770042bf3cb0af887b6f3497e4 (diff) | |
download | gitlab-ce-153ea1830153b7d7c3be5ac2e7ca60486c9b2700.tar.gz |
Refactor matchers for background migrationsce-backport=reorder-issues
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/issue.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index f2d111ba926..ad4a3c737ff 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -35,7 +35,7 @@ class Issue < ActiveRecord::Base validates :project, presence: true - alias_attribute :parent_id, :project_id + alias_attribute :parent_ids, :project_id scope :in_projects, ->(project_ids) { where(project_id: project_ids) } |