Reinstate json response config

This commit is contained in:
Brenda Wallace committed 2018-06-04 16:49:41 +12:00
1 parent 48589150a7
commit cf72bdc57d
1 file changed
+3 -3
+3 -3
View File
@@ -9,6 +9,6 @@ ActiveSupport.on_load(:action_controller) do
end
# To enable root element in JSON for ActiveRecord objects.
# ActiveSupport.on_load(:active_record) do
# self.include_root_in_json = true
# end
ActiveSupport.on_load(:active_record) do
self.include_root_in_json = false
end