Sha256: 01dcca8649e86102a9e025fc34a728c01236b7025f1bc528cecb3562bf5f8b7b

Contents?: true

Size: 371 Bytes

Versions: 2

Compression:

Stored size: 371 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

2 entries across 2 versions & 1 rubygems

Version Path
devise_meteor-0.1.1 spec/test_app/config/initializers/wrap_parameters.rb
devise_meteor-0.1.0 spec/test_app/config/initializers/wrap_parameters.rb