app/services/hyrax/statistics/collections/over_time.rb in hyrax-5.0.0.rc2 vs app/services/hyrax/statistics/collections/over_time.rb in hyrax-5.0.0.rc3
- old
+ new
@@ -5,10 +5,10 @@
class OverTime < Statistics::OverTime
private
def relation
AbstractTypeRelation
- .new(allowable_types: [Hyrax.config.collection_class])
+ .new(allowable_types: Hyrax::ModelRegistry.collection_classes)
end
end
end
end
end