diff --git a/lib/spree_print_invoice/engine.rb b/lib/spree_print_invoice/engine.rb index a3f83c80..d2f23e25 100644 --- a/lib/spree_print_invoice/engine.rb +++ b/lib/spree_print_invoice/engine.rb @@ -16,7 +16,7 @@ class Engine < Rails::Engine class << self def activate - cache_klasses = %W(#{config.root}/app/**/*_decorator*.rb #{config.root}/app/overrides/*.rb) + cache_klasses = %W(#{config.root}/app/**/*_decorator*.rb) Dir.glob(cache_klasses) do |klass| Rails.configuration.cache_classes ? require(klass) : load(klass) end