Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-10 16:13:00 +0300
committerDouwe Maan <douwe@gitlab.com>2015-04-14 13:06:43 +0300
commitcee98f22478b5ec27f91da04fe564a9760f79a38 (patch)
treef0db62af85b1ce903e52a4096a62a51c17098476 /app/views/admin
parent629fa7fbe3a8a2f06d7c053ddcbcd78beed24e9c (diff)
Reference project members by id instead of user_id.
Diffstat (limited to 'app/views/admin')
-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'