diff options
author | Shinichi Maeshima <netwillnet@gmail.com> | 2017-09-11 09:25:54 +0000 |
---|---|---|
committer | Shinichi Maeshima <netwillnet@gmail.com> | 2017-09-11 09:25:54 +0000 |
commit | 86ec2bf1a11afc6d1a513d8fe3e6cc018d2e5901 (patch) | |
tree | 0c37318df8f96e9b7e721dcdbd09e15933ec61b6 | |
parent | 5136abae7c3f034ebe38d4a88000fa764a351650 (diff) | |
download | gitlab-ce-86ec2bf1a11afc6d1a513d8fe3e6cc018d2e5901.tar.gz |
Delete duplicated lines.
-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) } |