spec/dummy/config/initializers/wrap_parameters.rb in manageable_content-0.2.2 vs spec/dummy/config/initializers/wrap_parameters.rb in manageable_content-0.2.3

- old
+ new

@@ -2,10 +2,10 @@ # # 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. -ActionController::Base.wrap_parameters format: [:json] +ActionController::Base.wrap_parameters :format => [:json] # Disable root element in JSON by default. if defined?(ActiveRecord) ActiveRecord::Base.include_root_in_json = false end