summaryrefslogtreecommitdiff
path: root/app/controllers/groups
diff options
context:
space:
mode:
authorJasper Maes <jaspermaes.jm@gmail.com>2019-01-02 21:06:55 +0100
committerJasper Maes <jaspermaes.jm@gmail.com>2019-01-11 21:19:01 +0100
commit30e2a8f08cbd70c4f296a4abe0689defc73713c9 (patch)
tree576d6fa2bf5051f2574e95346b3add6a8a449efd /app/controllers/groups
parentfe4f8cad21155c53aaf07a137d27bec9039a6379 (diff)
downloadgitlab-ce-30e2a8f08cbd70c4f296a4abe0689defc73713c9.tar.gz
Fix several ActionController::Parameters deprecations
Diffstat (limited to 'app/controllers/groups')
-rw-r--r--app/controllers/groups/children_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups/children_controller.rb b/app/controllers/groups/children_controller.rb
index d549f793ad7..236a19a8dc4 100644
--- a/app/controllers/groups/children_controller.rb
+++ b/app/controllers/groups/children_controller.rb
@@ -35,7 +35,7 @@ module Groups
def setup_children(parent)
@children = GroupDescendantsFinder.new(current_user: current_user,
parent_group: parent,
- params: params).execute
+ params: params.to_unsafe_h).execute
@children = @children.page(params[:page])
end
end