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

Version Path
active-fedora-9.7.3 lib/active_fedora/railtie.rb
active-fedora-9.7.2 lib/active_fedora/railtie.rb
active-fedora-10.0.0.beta2 lib/active_fedora/railtie.rb
active-fedora-10.0.0.beta1 lib/active_fedora/railtie.rb
active-fedora-9.13.0 lib/active_fedora/railtie.rb
active-fedora-9.12.0 lib/active_fedora/railtie.rb
active-fedora-9.11.0 lib/active_fedora/railtie.rb
active-fedora-9.10.4 lib/active_fedora/railtie.rb
active-fedora-9.10.3 lib/active_fedora/railtie.rb
active-fedora-9.10.2 lib/active_fedora/railtie.rb
active-fedora-9.10.1 lib/active_fedora/railtie.rb
active-fedora-9.10.0 lib/active_fedora/railtie.rb
active-fedora-9.10.0.pre2 lib/active_fedora/railtie.rb
active-fedora-9.10.0.pre1 lib/active_fedora/railtie.rb
active-fedora-9.9.1 lib/active_fedora/railtie.rb
active-fedora-9.9.0 lib/active_fedora/railtie.rb
active-fedora-9.8.2 lib/active_fedora/railtie.rb
active-fedora-9.8.1 lib/active_fedora/railtie.rb
active-fedora-9.8.0 lib/active_fedora/railtie.rb
active-fedora-9.7.1 lib/active_fedora/railtie.rb