spec/dummy/config/initializers/wrap_parameters.rb in aaf-gumboot-1.0.0.pre.alpha.2 vs spec/dummy/config/initializers/wrap_parameters.rb in aaf-gumboot-1.1.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
ActiveSupport.on_load(:action_controller) do
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
end
# To enable root element in JSON for ActiveRecord objects.