Class: Merb::BootLoader::ReloadTemplates

Inherits:
Merb::BootLoader show all
Defined in:
lib/merb-core/bootloader.rb

Class Method Summary collapse

Methods inherited from Merb::BootLoader

after, after_app_loads, before, before_app_loads, default_framework, finished?, inherited, move_klass

Class Method Details

.runObject

Reloads all templates if the reload_templates key has been set in config.



703
704
705
706
707
# File 'lib/merb-core/bootloader.rb', line 703

def self.run
  unless Merb::Config.key?(:reload_templates)
    Merb::Config[:reload_templates] = (Merb.environment == "development")
  end
end