Sha256: 291410ecb71ad3ab020f88f123f1462be5eee232efa4bc33d9eaeba9dd202fc3
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
# frozen_string_literal: true return if Hyrax.config.disable_wings # Clear existing Collection mapping to allow reverse lookups to resolve CollectionResource. # Then restore PcdmCollection for any code directly using that model. Wings::ModelRegistry.unregister(Hyrax::PcdmCollection) Wings::ModelRegistry.register(CollectionResource, ::Collection) Wings::ModelRegistry.register(Hyrax::PcdmCollection, ::Collection)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hyrax-5.0.0 | spec/support/wings_models.rb |
hyrax-5.0.0.rc3 | spec/support/wings_models.rb |