BigW Consortium Gitlab

Commit 7a0cc665 by Douwe Maan

Remove useless assignment

parent 41075bad
......@@ -38,7 +38,7 @@ module Participable
# Be aware that this method makes a lot of sql queries.
# Save result into variable if you are going to reuse it inside same request
def participants(current_user = self.author)
participants = self.class.participant_attrs.flat_map do |attr|
self.class.participant_attrs.flat_map do |attr|
meth = method(attr)
value =
......
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