Skip to content
Snippets Groups Projects
Commit 41075bad authored by Douwe Maan's avatar Douwe Maan
Browse files

Chaining ftw

parent 27d952b1
No related branches found
No related tags found
1 merge request!1568Simplify code around (cross)-references
Pipeline #
Loading
Loading
@@ -49,13 +49,9 @@ module Participable
end
 
participants_for(value, current_user)
end.compact.uniq
participants.select! do |user|
end.compact.uniq.select do |user|
user.can?(:read_project, self.project)
end
participants
end
 
private
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment