Sha256: 3e2657c49e3f3458e2856bd959cc53aeb3e15a7683ffc29a2f9a1e990291d035

Contents?: true

Size: 311 Bytes

Versions: 96

Compression:

Stored size: 311 Bytes

Contents

# 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

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
payment_icons-1.7.49 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.48 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.47 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.45 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.44 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.43 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.42 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.39 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.38 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.37 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.36 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.35 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.34 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.33 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.32 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.31 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.30 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.29 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.28 test/dummy/config/initializers/wrap_parameters.rb
payment_icons-1.7.27 test/dummy/config/initializers/wrap_parameters.rb