Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinichi Maeshima <netwillnet@gmail.com>2017-09-11 12:25:54 +0300
committerShinichi Maeshima <netwillnet@gmail.com>2017-09-11 12:25:54 +0300
commit86ec2bf1a11afc6d1a513d8fe3e6cc018d2e5901 (patch)
tree0c37318df8f96e9b7e721dcdbd09e15933ec61b6 /app/models/issue.rb
parent5136abae7c3f034ebe38d4a88000fa764a351650 (diff)
Delete duplicated lines.
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb3
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) }