lib/spree_zoned/engine.rb in spree_zoned-0.5.27 vs lib/spree_zoned/engine.rb in spree_zoned-0.5.28

- old
+ new

@@ -11,12 +11,10 @@ g.test_framework :rspec end # load all decorators def self.activate - if Spree::Config.instance - Spree::Config[:auto_capture] = true - end + Spree::Config[:auto_capture] = true Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator*.rb')) do |c| Rails.configuration.cache_classes ? require(c) : load(c) end end