lib/wings/transformer_value_mapper.rb in hyrax-3.0.0.pre.rc1 vs lib/wings/transformer_value_mapper.rb in hyrax-3.0.0.pre.rc2

- old
+ new

@@ -20,10 +20,10 @@ def result attributes = value.attributes.symbolize_keys nested_object = Wings::ActiveFedoraConverter::NestedResource.new(attributes) klass = Wings::ModelTransformer::ResourceClassCache.instance.fetch(Wings::ActiveFedoraConverter::NestedResource) do - ModelTransformer.to_valkyrie_resource_class(klass: nested_object.class) + OrmConverter.to_valkyrie_resource_class(klass: nested_object.class) end klass.new(attributes) end end