diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-10 20:25:53 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-10 20:25:53 +0300 |
commit | 3281021e8b42ba4d0fff5be268f5c43dd6ab4ff8 (patch) | |
tree | 20475f6cee307d65b584a0c41bcabe40decd5f40 /app/models/issue.rb | |
parent | 5b8cc95d6e12cf01b81d3ab06b2110847107241f (diff) | |
download | gitlab-ce-3281021e8b42ba4d0fff5be268f5c43dd6ab4ff8.tar.gz |
Rewrite issues/mr filtering logic
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 550041a0224..ecb881ab597 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -35,7 +35,6 @@ class Issue < ActiveRecord::Base acts_as_taggable_on :labels scope :cared, ->(user) { where(assignee_id: user) } - scope :authored, ->(user) { where(author_id: user) } scope :open_for, ->(user) { opened.assigned_to(user) } state_machine :state, initial: :opened do |