Remove unnecessary parentheses accidentally reintroduced in #1017.

This commit is contained in:
Lucas Hosseini 2015-09-15 00:25:37 +02:00
parent 319a9071af
commit fb7ec88e2e

View File

@ -43,7 +43,7 @@ class ActiveModel::Serializer::Adapter::JsonApi < ActiveModel::Serializer::Adapt
def fragment_cache(cached_hash, non_cached_hash) def fragment_cache(cached_hash, non_cached_hash)
root = false if @options.include?(:include) root = false if @options.include?(:include)
ActiveModel::Serializer::Adapter::JsonApi::FragmentCache.new().fragment_cache(root, cached_hash, non_cached_hash) ActiveModel::Serializer::Adapter::JsonApi::FragmentCache.new.fragment_cache(root, cached_hash, non_cached_hash)
end end
private private