Sha256: ffb29a5140d0e58d1c0bc0e29dc713e51ec8713e87266030835011aa6ea7b0ca
Contents?: true
Size: 497 Bytes
Versions: 1
Compression:
Stored size: 497 Bytes
Contents
module SolidusProductFeed class Engine < Rails::Engine engine_name 'solidus_product_feed' config.autoload_paths += %W(#{config.root}/lib) # use rspec for tests config.generators do |g| g.test_framework :rspec end 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_feed-0.1.0 | lib/solidus_product_feed/engine.rb |