Sha256: 837a04a657025c17a98e7bcdbc1b0d27e5dccb7e2f42a9279c5b323adba7ba9f

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

require "blacklight"
require 'active-fedora'
require 'cancan'
require 'hydra-access-controls'

# Hydra libraries
module Hydra
  extend ActiveSupport::Autoload
  autoload :GlobalConfigurable
  extend GlobalConfigurable
  autoload :Assets
  autoload :Catalog
  autoload :Controller
  autoload :FileAssets
  autoload :GenericContent
  autoload :GenericImage
  autoload :GenericUserAttributes
  require 'hydra/model_mixins'
  autoload :RepositoryController
  autoload :SubmissionWorkflow
  autoload :SuperuserAttributes
  autoload :User
  autoload :UI
  autoload :Workflow

  autoload :FileAssetsHelper

  # This error is raised when a user isn't allowed to access a given controller action.
  # This usually happens within a call to AccessControlsEnforcement#enforce_access_controls but can be
  # raised manually.
  class Hydra::AccessDenied < CanCan::AccessDenied; end
end


require 'hydra/assets_controller_helper'
require 'hydra/rights_metadata'
require 'hydra/mods'
require 'hydra/model_methods'
require 'hydra/models/file_asset'
require 'mediashelf/active_fedora_helper' #deprecated

SolrDocument.use_extension Hydra::ModelMixins::SolrDocumentExtension

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hydra-head-4.1.0 lib/hydra.rb