Commit 7771afd5 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'patch-26' into 'master'

Delete duplicated lines.

See merge request !14180
parents 873cc54a 86ec2bf1
...@@ -30,9 +30,6 @@ class Issue < ActiveRecord::Base ...@@ -30,9 +30,6 @@ class Issue < ActiveRecord::Base
has_many :issue_assignees has_many :issue_assignees
has_many :assignees, class_name: "User", through: :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 validates :project, presence: true
scope :in_projects, ->(project_ids) { where(project_id: project_ids) } scope :in_projects, ->(project_ids) { where(project_id: project_ids) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment