Class: Merb::BootLoader::ReloadTemplates
- Inherits:
-
Merb::BootLoader
- Object
- Merb::BootLoader
- Merb::BootLoader::ReloadTemplates
- Defined in:
- lib/merb-core/bootloader.rb
Class Method Summary collapse
-
.run ⇒ Object
Reloads all templates if the reload_templates key has been set in config.
Methods inherited from Merb::BootLoader
after, after_app_loads, before, before_app_loads, default_framework, finished?, inherited, move_klass
Class Method Details
.run ⇒ Object
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 |