Commit 75a02e090a436aac2a182f2b56dfda4719cbd5b8
1 parent
c5cbbea8
Exists in
master
and in
4 other branches
simple cleanup code %)
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/admin/users/show.html.haml
@@ -123,5 +123,5 @@ | @@ -123,5 +123,5 @@ | ||
123 | %tr | 123 | %tr |
124 | %td= link_to project.name_with_namespace, admin_project_path(project) | 124 | %td= link_to project.name_with_namespace, admin_project_path(project) |
125 | %td= tm.project_access_human | 125 | %td= tm.project_access_human |
126 | - %td= link_to 'Edit Access', edit_admin_project_member_path(project.path_with_namespace, tm.user.username), class: "btn small" | ||
127 | - %td= link_to 'Remove from team', admin_project_member_path(project.path_with_namespace, tm.user.username), confirm: 'Are you sure?', method: :delete, class: "btn small danger" | 126 | + %td= link_to 'Edit Access', edit_admin_project_member_path(project, tm.user), class: "btn small" |
127 | + %td= link_to 'Remove from team', admin_project_member_path(project, tm.user), confirm: 'Are you sure?', method: :delete, class: "btn small danger" |