Sha256: 0ad212cf3b71d8549480a53b6bdcca9e0d498a8250dfaf145de5006dd33b67f2
Contents?: true
Size: 557 Bytes
Versions: 20
Compression:
Stored size: 557 Bytes
Contents
require "active-fedora" require "active_fedora_finders" class Concept < GenericAggregator include ::ActiveFedora::FinderMethods::RepositoryMethods include ::ActiveFedora::DatastreamCollections include ::Hydra::ModelMethods include Cul::Scv::Hydra::Models::Common has_and_belongs_to_many :containers, :property=>:cul_member_of, :class_name=>'ActiveFedora::Base' def route_as "concept" end def index_type_label "CONCEPT" end def to_solr(solr_doc = Hash.new, opts={}) solr_doc = super(solr_doc, opts) solr_doc end end
Version data entries
20 entries across 20 versions & 1 rubygems