lib/spree_zoned/engine.rb in spree_zoned-0.5.9 vs lib/spree_zoned/engine.rb in spree_zoned-0.5.10
- old
+ new
@@ -9,9 +9,10 @@
# use rspec for tests
config.generators do |g|
g.test_framework :rspec
end
+ # load all decorators
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