fixes #2506: API results wrapped inside an extra object

This commit is contained in:
r888888888
2015-08-24 17:07:38 -07:00
parent 6234802157
commit 2ff44298b9

View File

@@ -10,5 +10,5 @@ end
# To enable root element in JSON for ActiveRecord objects.
ActiveSupport.on_load(:active_record) do
self.include_root_in_json = true
self.include_root_in_json = false
end