Sha256: a0f35642db569ffa7d168649840e9f707f520992b3e25527c6b184d0d0c3a99b

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

require 'hydra-access-controls'
# Hydra libraries
module Hydra
  extend ActiveSupport::Autoload
  autoload :GlobalConfigurable
  extend GlobalConfigurable
  autoload :Controller
  autoload :ModelMethods
  autoload :RepositoryController
  autoload :Solr
  module ModelMixins
    # ModelMixins already loaded by hydra-access-controls
    autoload :CommonMetadata
    autoload :SolrDocumentExtension
  end
  autoload :Models
end

# require these models once the hydra module has been set up, so that all autoloads take place
#require 'hydra-file-access'

begin
  SolrDocument.use_extension Hydra::ModelMixins::SolrDocumentExtension
rescue NameError
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hydra-core-5.0.0.pre4 lib/hydra.rb