disable root as flag option

This commit is contained in:
João Moura
2015-06-13 15:22:43 -03:00
parent c8fcb60a5d
commit 1c3a180a20
2 changed files with 5 additions and 13 deletions

View File

@@ -8,10 +8,10 @@ module ActiveModel
super
@result
end
end
def fragment_cache(cached_hash, non_cached_hash)
Json::FragmentCache.new().fragment_cache(cached_hash, non_cached_hash)
def root
false
end
end
end
end