Class: SpreeMobility::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/spree_mobility/engine.rb

Class Method Summary collapse

Class Method Details

.activateObject



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