Sha256: cc6b17898afe81405f11cb9579601f7c27f6cb1ac07b260550d8b78b2895b55d
Contents?: true
Size: 401 Bytes
Versions: 3
Compression:
Stored size: 401 Bytes
Contents
module SpreeMailChimp class Engine < Rails::Engine engine_name 'spree_mail_chimp' config.autoload_paths += %W(#{config.root}/lib) def self.activate Dir.glob(File.join(File.dirname(__FILE__), "../../app/**/*_decorator*.rb")) do |c| Rails.application.config.cache_classes ? require(c) : load(c) end end config.to_prepare &method(:activate).to_proc end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_mail_chimp-3.0.2 | lib/spree_mail_chimp/engine.rb |
spree_mail_chimp-3.0.1 | lib/spree_mail_chimp/engine.rb |
spree_mail_chimp-3.0.0 | lib/spree_mail_chimp/engine.rb |