Sha256: 73c54849111e1e5fefebaad0a22ba9a352a48c974693b95ac5ba724b2f5ca2ba
Contents?: true
Size: 453 Bytes
Versions: 3
Compression:
Stored size: 453 Bytes
Contents
module SpreeLastAddress class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'spree_last_address' config.autoload_paths += %W(#{config.root}/lib) 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree-last-address-2.0.0 | lib/spree_last_address/engine.rb |
spree-last-address-2.1.1 | lib/spree_last_address/engine.rb |
spree-last-address-2.2.0 | lib/spree_last_address/engine.rb |