Sha256: 3e75131625176df4c5fece17d8fc3a8f869daab80c087255934cc0de68e55a15
Contents?: true
Size: 866 Bytes
Versions: 26
Compression:
Stored size: 866 Bytes
Contents
module ActiveFedora class Railtie < Rails::Railtie config.app_middleware.insert_after ::ActionDispatch::Callbacks, ActiveFedora::LdpCache config.action_dispatch.rescue_responses.merge!( "ActiveFedora::ObjectNotFoundError" => :not_found ) config.eager_load_namespaces << ActiveFedora 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) do self.logger = ::Rails.logger if logger.is_a? NullLogger end end generators do require( 'generators/active_fedora/config/config_generator' ) require( 'generators/active_fedora/model/model_generator' ) end end end
Version data entries
26 entries across 26 versions & 1 rubygems