Class: Basemate::Ui::Core::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- Basemate::Ui::Core::Engine
- Defined in:
- lib/basemate/ui/core/engine.rb
Class Method Summary collapse
Class Method Details
.activate ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/basemate/ui/core/engine.rb', line 7 def self.activate # Dir.glob(File.join(Rails.root, 'app/basemate/**/*.rb')) do |c| # Rails.configuration.cache_classes ? require(c) : load(c) # end # Rails.configuration.autoload_paths << Dir.glob(File.join(Rails.root, 'config/basemate/**/*.rb')) # require_dependency "#{Rails.root}/config/basemate-ui-core" end |