X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0eb72b526bf8bbb011551ecf019f604e17a534f1..b971c02ebd292e5d689b09fed5747ce01147ae77:/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 976777723a..6fb9786504 100644 --- a/services/api/config/initializers/wrap_parameters.rb +++ b/services/api/config/initializers/wrap_parameters.rb @@ -9,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.