summaryrefslogtreecommitdiff
path: root/app/views/admin/projects/show.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-10 15:13:00 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-14 12:06:43 +0200
commitcee98f22478b5ec27f91da04fe564a9760f79a38 (patch)
treef0db62af85b1ce903e52a4096a62a51c17098476 /app/views/admin/projects/show.html.haml
parent629fa7fbe3a8a2f06d7c053ddcbcd78beed24e9c (diff)
downloadgitlab-ce-cee98f22478b5ec27f91da04fe564a9760f79a38.tar.gz
Reference project members by id instead of user_id.
Diffstat (limited to 'app/views/admin/projects/show.html.haml')
-rw-r--r--app/views/admin/projects/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index b0b23132560..be31551dc96 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -131,7 +131,7 @@
%span.light Owner
- else
%span.light= project_member.human_access
- = link_to namespace_project_project_member_path(@project.namespace, @project, user), data: { confirm: remove_from_project_team_message(@project, user)}, method: :delete, remote: true, class: "btn btn-sm btn-remove" do
+ = link_to namespace_project_project_member_path(@project.namespace, @project, project_member), data: { confirm: remove_from_project_team_message(@project, user)}, method: :delete, remote: true, class: "btn btn-sm btn-remove" do
%i.fa.fa-times
.panel-footer
= paginate @project_members, param_name: 'project_members_page', theme: 'gitlab'