Sha256: 8a310736068c8955040220c80686e96092e3b54d6a16ed64fd05fb4b7c3093bb

Contents?: true

Size: 375 Bytes

Versions: 7

Compression:

Stored size: 375 Bytes

Contents

# 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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
exceptionally_beautiful-0.1.5 spec/test_app/config/initializers/wrap_parameters.rb
exceptionally_beautiful-0.1.4 spec/test_app/config/initializers/wrap_parameters.rb
exceptionally_beautiful-0.1.3 spec/test_app/config/initializers/wrap_parameters.rb
exceptionally_beautiful-0.1.2 spec/test_app/config/initializers/wrap_parameters.rb
exceptionally_beautiful-0.1.1 spec/test_app/config/initializers/wrap_parameters.rb
exceptionally_beautiful-0.1.0 spec/test_app/config/initializers/wrap_parameters.rb
exceptionally_beautiful-0.0.1 spec/test_app/config/initializers/wrap_parameters.rb