summaryrefslogtreecommitdiff
path: root/app/views/groups/group_members/index.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-10 14:39:10 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-14 12:05:49 +0200
commitff3caad4caf46049c8f202849a05fb15a2aaccb8 (patch)
tree77a75ff9d82a16b4f4637452c8c5fe157e0edcbc /app/views/groups/group_members/index.html.haml
parentae6d0aaae0d8f6251b30a8e5243a98f083f0cac9 (diff)
downloadgitlab-ce-ff3caad4caf46049c8f202849a05fb15a2aaccb8.tar.gz
Rename manage_group ability to admin_group for consistency with project.
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 0d501fe7bd3..c0c9cd170ad 100644
--- a/app/views/groups/group_members/index.html.haml
+++ b/app/views/groups/group_members/index.html.haml
@@ -16,7 +16,7 @@
= search_field_tag :search, params[:search], { placeholder: 'Find existing member by name', class: 'form-control search-text-input input-mn-300' }
= button_tag 'Search', class: 'btn'
- - if current_user && current_user.can?(:manage_group, @group)
+ - if current_user && current_user.can?(:admin_group, @group)
.pull-right
= button_tag class: 'btn btn-new js-toggle-button', type: 'button' do
Add members