Sha256: 551372e3e3d05c7723ed8a69f8814a5c079d5f950fb7aea5077c40829b04a8eb
Contents?: true
Size: 585 Bytes
Versions: 1
Compression:
Stored size: 585 Bytes
Contents
# Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 # Be sure to restart your server when you modify this file. # This file contains settings for ActionController::ParamsWrapper which # is enabled by default. # 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] if respond_to?(:wrap_parameters) end # To enable root element in JSON for ActiveRecord objects. # ActiveSupport.on_load(:active_record) do # self.include_root_in_json = true # end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vault-rails-0.9.0 | spec/dummy/config/initializers/wrap_parameters.rb |