Sha256: 2276f067077d8fe8a4670d4349843e3f8ab8730fe5c95686c8b2499a4d691298
Contents?: true
Size: 1020 Bytes
Versions: 12
Compression:
Stored size: 1020 Bytes
Contents
require 'active_support' # TODO would it be possible to put the require fedora in an after_initialize block like this? #ActiveSupport.on_load(:after_initialize) do # This would allow solrizer to load it's config files after the rails logger is up. require 'active-fedora' require 'cancan' require 'rails' module Hydra extend ActiveSupport::Autoload autoload :User autoload :AccessControlsEnforcement autoload :PolicyAwareAccessControlsEnforcement autoload :AccessControlsEvaluation autoload :Ability autoload :Datastream autoload :PolicyAwareAbility autoload :AdminPolicy autoload :RoleMapperBehavior class Engine < Rails::Engine end module ModelMixins extend ActiveSupport::Autoload autoload :RightsMetadata end # 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 AccessDenied < ::CanCan::AccessDenied; end end
Version data entries
12 entries across 12 versions & 1 rubygems