Skip to content

Commit fb7ec88

Browse files
committed
Remove unnecessary parentheses accidentally reintroduced in #1017.
1 parent 319a907 commit fb7ec88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_model/serializer/adapter/json_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def serializable_hash(options = nil)
4343

4444
def fragment_cache(cached_hash, non_cached_hash)
4545
root = false if @options.include?(:include)
46-
ActiveModel::Serializer::Adapter::JsonApi::FragmentCache.new().fragment_cache(root, cached_hash, non_cached_hash)
46+
ActiveModel::Serializer::Adapter::JsonApi::FragmentCache.new.fragment_cache(root, cached_hash, non_cached_hash)
4747
end
4848

4949
private

0 commit comments

Comments
 (0)