summaryrefslogtreecommitdiff
path: root/app/views/groups/group_members/index.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-07-28 16:32:15 +0200
committerDouwe Maan <douwe@gitlab.com>2015-07-28 16:32:15 +0200
commitf9bcb9632c1f7f5c5c72d50a90289baa2af762f5 (patch)
tree8f72848f4a2560f52ea99d361d1128e7a7ff2e04 /app/views/groups/group_members/index.html.haml
parent43d118803133558209973464b1c16fd4c7ba446c (diff)
downloadgitlab-ce-f9bcb9632c1f7f5c5c72d50a90289baa2af762f5.tar.gz
Add specific ability for managing group members
Diffstat (limited to 'app/views/groups/group_members/index.html.haml')
-rw-r--r--app/views/groups/group_members/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/group_members/index.html.haml b/app/views/groups/group_members/index.html.haml
index a70d1ff0697..dba395cc8fa 100644
--- a/app/views/groups/group_members/index.html.haml
+++ b/app/views/groups/group_members/index.html.haml
@@ -17,7 +17,7 @@
= search_field_tag :search, params[:search], { placeholder: 'Find existing member by name', class: 'form-control search-text-input' }
= button_tag 'Search', class: 'btn'
- - if current_user && current_user.can?(:admin_group, @group)
+ - if current_user && current_user.can?(:admin_group_member, @group)
.pull-right
= button_tag class: 'btn btn-new js-toggle-button', type: 'button' do
Add members