Sha256: 5bfe2eae4e9b9af59443088e20dbba928f1b90d97768afd465d763f672407930
Contents?: true
Size: 673 Bytes
Versions: 6
Compression:
Stored size: 673 Bytes
Contents
require 'rails' require 'pageflow/rails_version' module PageflowScrolled # Rails integration class Engine < ::Rails::Engine isolate_namespace PageflowScrolled lib = root.join('lib') config.autoload_paths << lib config.eager_load_paths << lib initializer 'pageflow_scrolled.autoloading' do Rails.autoloaders.main.ignore( lib.join('generators'), lib.join('tasks') ) end 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
6 entries across 6 versions & 1 rubygems