Sha256: 42d162d75e08cf771f8bc15c098f171140d06c3031d673cfb57eb49e0efb3966
Contents?: true
Size: 411 Bytes
Versions: 1
Compression:
Stored size: 411 Bytes
Contents
module SolidusProductAssembly class Engine < Rails::Engine engine_name 'solidus_product_assembly' config.autoload_paths += %W(#{config.root}/lib) def self.activate Dir.glob(File.join(File.dirname(__FILE__), "../../app/**/*_decorator.rb")) do |c| Rails.configuration.cache_classes ? require(c) : load(c) end end config.to_prepare &method(:activate).to_proc end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_product_assembly-1.0.0 | lib/solidus_product_assembly/engine.rb |