Class: Deface::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/deface/railtie.rb

Class Method Summary collapse

Class Method Details

.activateObject



9
10
11
12
13
14
15
# File 'lib/deface/railtie.rb', line 9

def self.activate
  if Rails.application.config.deface.enabled
    #load all overrides
    Rails.application.config.deface.overrides.load_all Rails.application
  end

end