X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fb3c02b38a24cda422de95f2f8b49002b841cc72..a7631a1ccb6e2a6925d00a06562e171c4ce4ea2f:/services/api/config/initializers/wrap_parameters.rb diff --git a/services/api/config/initializers/wrap_parameters.rb b/services/api/config/initializers/wrap_parameters.rb index da4fb076f3..6fb9786504 100644 --- a/services/api/config/initializers/wrap_parameters.rb +++ b/services/api/config/initializers/wrap_parameters.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + # Be sure to restart your server when you modify this file. # # This file contains settings for ActionController::ParamsWrapper which @@ -5,7 +9,7 @@ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. ActiveSupport.on_load(:action_controller) do - wrap_parameters :format => [:json] + wrap_parameters format: [:json] end # Disable root element in JSON by default.