diff options
author | Rémy Coutable <remy@rymai.me> | 2017-09-13 12:49:29 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-13 12:49:29 +0000 |
commit | 7771afd536e8f11108c295e415252055c0ae6adb (patch) | |
tree | b0f522925bb4dda742d697e5bfae2654ac8fcd2f /app | |
parent | 873cc54a0ed853889e20aad14684d96676664669 (diff) | |
parent | 86ec2bf1a11afc6d1a513d8fe3e6cc018d2e5901 (diff) | |
download | gitlab-ce-7771afd536e8f11108c295e415252055c0ae6adb.tar.gz |
Merge branch 'patch-26' into 'master'
Delete duplicated lines.
See merge request !14180
Diffstat (limited to 'app')
-rw-r--r-- | app/models/issue.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 8c7d492e605..cd5056aae5e 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -30,9 +30,6 @@ class Issue < ActiveRecord::Base has_many :issue_assignees has_many :assignees, class_name: "User", through: :issue_assignees - has_many :issue_assignees - has_many :assignees, class_name: "User", through: :issue_assignees - validates :project, presence: true scope :in_projects, ->(project_ids) { where(project_id: project_ids) } |