Sha256: abe25721615953e48955d3de3d8680a8339439b803dc43a205a0fce2513e4c92

Contents?: true

Size: 447 Bytes

Versions: 7

Compression:

Stored size: 447 Bytes

Contents

module PageflowPaged
  # Rails integration
  class Engine < ::Rails::Engine
    isolate_namespace PageflowPaged

    config.paths.add('lib', eager_load: true)
    config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s]

    initializer 'pageflow_paged.assets.precompile' do |app|
      app.config.assets.precompile += %w[
        pageflow_paged/editor.js
        pageflow_paged/editor.css
      ]
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pageflow-15.2.2 entry_types/paged/lib/pageflow_paged/engine.rb
pageflow-15.2.1 entry_types/paged/lib/pageflow_paged/engine.rb
pageflow-15.2.0 entry_types/paged/lib/pageflow_paged/engine.rb
pageflow-15.1.2 entry_types/paged/lib/pageflow_paged/engine.rb
pageflow-15.1.1 entry_types/paged/lib/pageflow_paged/engine.rb
pageflow-15.1.0 entry_types/paged/lib/pageflow_paged/engine.rb
pageflow-15.1.0.rc0 entry_types/paged/lib/pageflow_paged/engine.rb