diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-08 17:03:30 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-08 17:03:30 -0700 |
commit | 9b3e156e43b8a14e4eb294a47bda6a477c8573b0 (patch) | |
tree | 4e1de7b6835ac646b34761b5814e4afe250f3f8c /app/views/groups/group_members/_group_member.html.haml | |
parent | 8b551ee31858db9c5da1ff5245359151d5b71211 (diff) | |
download | gitlab-ce-9b3e156e43b8a14e4eb294a47bda6a477c8573b0.tar.gz |
Move profile groups page to dashboard
Diffstat (limited to 'app/views/groups/group_members/_group_member.html.haml')
-rw-r--r-- | app/views/groups/group_members/_group_member.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/group_members/_group_member.html.haml b/app/views/groups/group_members/_group_member.html.haml index 21029c3a07d..30c3c2b00df 100644 --- a/app/views/groups/group_members/_group_member.html.haml +++ b/app/views/groups/group_members/_group_member.html.haml @@ -19,7 +19,7 @@ %i.fa.fa-pencil-square-o - if can?(current_user, :destroy, member) - if current_user == member.user - = link_to leave_profile_group_path(@group), data: { confirm: leave_group_message(@group.name)}, method: :delete, class: "btn-tiny btn btn-remove", title: 'Remove user from group' do + = link_to leave_dashboard_group_path(@group), data: { confirm: leave_group_message(@group.name)}, method: :delete, class: "btn-tiny btn btn-remove", title: 'Remove user from group' do %i.fa.fa-minus.fa-inverse - else = link_to group_group_member_path(@group, member), data: { confirm: remove_user_from_group_message(@group, user) }, method: :delete, remote: true, class: "btn-tiny btn btn-remove", title: 'Remove user from group' do |