about summary refs log tree commit diff stats
path: root/test/dummy/config/initializers/wrap_parameters.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/dummy/config/initializers/wrap_parameters.rb')
-rw-r--r--test/dummy/config/initializers/wrap_parameters.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/dummy/config/initializers/wrap_parameters.rb b/test/dummy/config/initializers/wrap_parameters.rb deleted file mode 100644 index bbfc396..0000000 --- a/test/dummy/config/initializers/wrap_parameters.rb +++ /dev/null
@@ -1,14 +0,0 @@
1# Be sure to restart your server when you modify this file.
2
3# This file contains settings for ActionController::ParamsWrapper which
4# is enabled by default.
5
6# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7ActiveSupport.on_load(:action_controller) do
8 wrap_parameters format: [:json]
9end
10
11# To enable root element in JSON for ActiveRecord objects.
12# ActiveSupport.on_load(:active_record) do
13# self.include_root_in_json = true
14# end