diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-03-21 19:11:24 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-03-21 19:11:24 -0300 |
commit | 8d544645f0ef114586212835cf011a3e268c9ec1 (patch) | |
tree | 4ffb1d46f923bfe2f25b194f9ad0411b3a5e008e /app/controllers/admin/groups_controller.rb | |
parent | 261569b2466e455ff308cc54fb1db51bc8dc2880 (diff) | |
download | gitlab-ce-8d544645f0ef114586212835cf011a3e268c9ec1.tar.gz |
Add specs and add visibility level to admin groups
Diffstat (limited to 'app/controllers/admin/groups_controller.rb')
-rw-r--r-- | app/controllers/admin/groups_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb index 668396a0f20..8e2a981be7c 100644 --- a/app/controllers/admin/groups_controller.rb +++ b/app/controllers/admin/groups_controller.rb @@ -59,6 +59,6 @@ class Admin::GroupsController < Admin::ApplicationController end def group_params - params.require(:group).permit(:name, :description, :path, :avatar) + params.require(:group).permit(:name, :description, :path, :avatar, :visibility_level) end end |