Class: SpreefineryCore::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- SpreefineryCore::Engine
- Defined in:
- lib/spreefinery_core/engine.rb
Class Method Summary collapse
Class Method Details
.activate ⇒ Object
22 23 24 25 26 |
# File 'lib/spreefinery_core/engine.rb', line 22 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 |