Sha256: b53e8e53771da9a2e55f63640fc7e2976ebb190a5d2a3e7744f7c2337a07d2ce

Contents?: true

Size: 393 Bytes

Versions: 2

Compression:

Stored size: 393 Bytes

Contents

module RevManifest
  class Railtie < ::Rails::Railtie
    config.rev_manifest = ActiveSupport::OrderedOptions.new

    config.rev_manifest.enabled = false
    config.rev_manifest.sources = :all

    initializer "rev_manifest.config", group: :all do |app|
      RevManifest.enabled = app.config.rev_manifest.enabled
      RevManifest.sources = app.config.rev_manifest.sources
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
actionview-rev_manifest-0.2.1 lib/rev_manifest/railtie.rb
actionview-rev_manifest-0.2.0 lib/rev_manifest/railtie.rb