Sha256: 7ba12e4254679a225e200dbc726b9ea11f982d0f860bccc4077b1341d45ac072
Contents?: true
Size: 787 Bytes
Versions: 5
Compression:
Stored size: 787 Bytes
Contents
# this model exists largely to exercise the default partials for models that don't have their own # that is, if an (active)fedora object uses the ModsAsset model, then hydra-head will use partials in views/mods_assets to display those objects # however, if an (active)fedora object uses a model without its own partials in the views folder, then hydra-head will use views/catalog/xxx to display those objects. # a Fedora object for the Hypatia SET hydra content type class UsesDefaultPartials < ActiveFedora::Base has_metadata :name => "descMetadata", :type => Hydra::Datastream::ModsGenericContent has_metadata :name => "rightsMetadata", :type => Hydra::Datastream::RightsMetadata # adds helpful methods for basic hydra objects. include Hydra::ModelMethods end
Version data entries
5 entries across 5 versions & 1 rubygems