Sha256: 4cf143815263b389ed24f87ac413d3acc81a0adb762f6b7a4f342fb1a6d7ebcd
Contents?: true
Size: 664 Bytes
Versions: 23
Compression:
Stored size: 664 Bytes
Contents
module ActiveFedora class Railtie < Rails::Railtie config.app_middleware.insert_after "::ActionDispatch::Callbacks", "ActiveFedora::LdpCache" initializer 'active_fedora.autoload', before: :set_autoload_paths do |app| app.config.autoload_paths << 'app/models/datastreams' end initializer "active_fedora.logger" do ActiveSupport.on_load(:active_fedora) { self.logger ||= ::Rails.logger } end generators do require( 'generators/active_fedora/config/config_generator' ) require( 'generators/active_fedora/model/model_generator' ) end end end
Version data entries
23 entries across 23 versions & 1 rubygems