summaryrefslogtreecommitdiff
path: root/app/models/issue_collection.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/issue_collection.rb')
-rw-r--r--app/models/issue_collection.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/issue_collection.rb b/app/models/issue_collection.rb
index 49f011c113f..f0b7d9914c8 100644
--- a/app/models/issue_collection.rb
+++ b/app/models/issue_collection.rb
@@ -17,9 +17,9 @@ class IssueCollection
# Given all the issue projects we get a list of projects that the current
# user has at least reporter access to.
- projects_with_reporter_access = user
- .projects_with_reporter_access_limited_to(project_ids)
- .pluck(:id)
+ projects_with_reporter_access = user.
+ projects_with_reporter_access_limited_to(project_ids).
+ pluck(:id)
collection.select do |issue|
if projects_with_reporter_access.include?(issue.project_id)