diff options
author | Felipe Artur <fcardozo@gitlab.com> | 2017-09-15 20:14:53 +0000 |
---|---|---|
committer | Felipe Artur <fcardozo@gitlab.com> | 2017-09-15 20:14:53 +0000 |
commit | 25c959f94d3dda63120256735163e4a142b8711e (patch) | |
tree | 4c6e544a665dab5b59106ace9638dca16b71d806 /app/models/issue.rb | |
parent | b20595b2bd0023ebbc2ec46017f5d1cb1533fb4f (diff) | |
parent | 3dd2248605ce2183f02ab268fc1f8b0b164f0bed (diff) | |
download | gitlab-ce-issue_37640.tar.gz |
Merge branch 'master' into 'issue_37640'issue_37640
# Conflicts:
# db/schema.rb
Diffstat (limited to 'app/models/issue.rb')
-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) } |