disabling custom root option

This commit is contained in:
João Moura
2015-06-15 15:58:39 -03:00
parent d061b2e9f4
commit 329691276a
2 changed files with 1 additions and 39 deletions

View File

@@ -168,11 +168,7 @@ module ActiveModel
end
def json_key
if root.nil?
self.class.root_name
else
root
end
self.class.root_name
end
def id