summaryrefslogtreecommitdiff
path: root/app/views/projects/project_members/_team.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/project_members/_team.html.haml')
-rw-r--r--app/views/projects/project_members/_team.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/project_members/_team.html.haml b/app/views/projects/project_members/_team.html.haml
index ff54035cfe1..c1e894d8f40 100644
--- a/app/views/projects/project_members/_team.html.haml
+++ b/app/views/projects/project_members/_team.html.haml
@@ -4,5 +4,4 @@
%strong #{@project.name}
%span.badge= @project_members.total_count
%ul.content-list
- - members.each do |member|
- = render 'shared/members/member', member: member
+ = render partial: 'shared/members/member', collection: members, as: :member