Sha256: 5e05b40bb6745675b090687248121a16a2a0bbd83c5852ec5d00b432753a4aa4
Contents?: true
Size: 695 Bytes
Versions: 1
Compression:
Stored size: 695 Bytes
Contents
module Pageflow module BeforeAfter class Engine < Rails::Engine isolate_namespace Pageflow::BeforeAfter config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s] if Rails.respond_to?(:autoloaders) lib = root.join('lib') config.autoload_paths << lib config.eager_load_paths << lib initializer 'pageflow_before_after.autoloading' do Rails.autoloaders.main.ignore( lib.join('pageflow-before-after.rb'), lib.join('pageflow/before_after/version.rb') ) end else config.autoload_paths << File.join(config.root, 'lib') end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pageflow-before-after-1.6.0 | lib/pageflow/before_after/engine.rb |