diff options
author | haseeb <haseebeqx@yahoo.com> | 2018-02-09 23:53:55 +0530 |
---|---|---|
committer | haseeb <haseebeqx@yahoo.com> | 2018-02-28 19:25:24 +0530 |
commit | f211e47eb20959fdebc5ae0aabf66267ea521ee7 (patch) | |
tree | c2c7a6c69ae5f52aa404764e139fd27d943e085c /app/models/issue.rb | |
parent | 56af0631c6c6d838301ac068f2e79b8f4de9fda7 (diff) | |
download | gitlab-ce-f211e47eb20959fdebc5ae0aabf66267ea521ee7.tar.gz |
closed by field added
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index c81f7e52bb1..8e51448770d 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -23,6 +23,7 @@ class Issue < ActiveRecord::Base belongs_to :project belongs_to :moved_to, class_name: 'Issue' + belongs_to :closed_by, class_name: 'User' has_many :events, as: :target, dependent: :destroy # rubocop:disable Cop/ActiveRecordDependent |