aboutsummaryrefslogtreecommitdiffstats
path: root/spec/dummy/config/initializers/wrap_parameters.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/dummy/config/initializers/wrap_parameters.rb')
-rw-r--r--spec/dummy/config/initializers/wrap_parameters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/dummy/config/initializers/wrap_parameters.rb b/spec/dummy/config/initializers/wrap_parameters.rb
index 16c3243..71b88b0 100644
--- a/spec/dummy/config/initializers/wrap_parameters.rb
+++ b/spec/dummy/config/initializers/wrap_parameters.rb
@@ -4,7 +4,7 @@
# is enabled by default.
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActionController::Base.wrap_parameters format: [:json]
+ActionController::Base.wrap_parameters :format => [:json]
# Disable root element in JSON by default.
if defined?(ActiveRecord)