Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-03-22 01:11:24 +0300
committerFelipe Artur <felipefac@gmail.com>2016-03-22 01:11:24 +0300
commit8d544645f0ef114586212835cf011a3e268c9ec1 (patch)
tree4ffb1d46f923bfe2f25b194f9ad0411b3a5e008e /app/controllers/admin/groups_controller.rb
parent261569b2466e455ff308cc54fb1db51bc8dc2880 (diff)
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.rb2
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