Module: Nesta::Overrides

Defined in:
lib/nesta/overrides.rb

Defined Under Namespace

Modules: Renderers

Class Method Summary collapse

Class Method Details

.load_local_appObject



20
21
22
23
# File 'lib/nesta/overrides.rb', line 20

def self.load_local_app
  require Nesta::Path.local("app")
rescue LoadError
end

.load_theme_appObject



25
26
27
28
29
30
# File 'lib/nesta/overrides.rb', line 25

def self.load_theme_app
  if Nesta::Config.theme
    require Nesta::Path.themes(Nesta::Config.theme, "app")
  end
rescue LoadError
end