Sha256: 402b0722b337bcf26a0555ae9f8ba81ddedd1d2f4a980ead99e39fdcd693417f

Contents?: true

Size: 409 Bytes

Versions: 3

Compression:

Stored size: 409 Bytes

Contents

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

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

    initializer 'pageflow_scrolled.assets.precompile' do |app|
      app.config.assets.precompile += %w[pageflow_scrolled/legacy.js]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pageflow-15.5.0 entry_types/scrolled/lib/pageflow_scrolled/engine.rb
pageflow-15.4.0 entry_types/scrolled/lib/pageflow_scrolled/engine.rb
pageflow-15.3.0 entry_types/scrolled/lib/pageflow_scrolled/engine.rb