Sha256: 7f712f47f3b01c93b80e7b119ae1772b9e5406d96989b2f85e662018da0a7bfc
Contents?: true
Size: 558 Bytes
Versions: 7
Compression:
Stored size: 558 Bytes
Contents
module SpreeHomePageFeatures class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'spree_home_page_features' 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
7 entries across 7 versions & 1 rubygems