BigW Consortium Gitlab

Commit e4485d7b by Robert Speicher

Use `public_send` over `send` in ProjectTeam

parent 2908f173
......@@ -202,8 +202,8 @@ class ProjectTeam
group_members = group ? group.members : []
if level
project_members = project_members.send(level)
group_members = group_members.send(level) if group
project_members = project_members.public_send(level)
group_members = group_members.public_send(level) if group
end
user_ids = project_members.pluck(:user_id)
......@@ -248,7 +248,7 @@ class ProjectTeam
invited_group_members = invited_group_members
.where("access_level >= ?", link.group_access)
else
invited_group_members = invited_group_members.send(level)
invited_group_members = invited_group_members.public_send(level)
end
end
......
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