Class: SpreeMobility::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- SpreeMobility::Engine
- Defined in:
- lib/spree_mobility/engine.rb
Class Method Summary collapse
Class Method Details
.activate ⇒ Object
25 26 27 28 29 |
# File 'lib/spree_mobility/engine.rb', line 25 def self.activate Dir.glob(File.join(root, "app/**/*_decorator*.rb")) do |c| Rails.configuration.cache_classes ? require(c) : load(c) end end |