Redmine/vendor/plugins/engines/init.rb

6 lines
182 B
Ruby

# Only call Engines.init once, in the after_initialize block so that Rails
# plugin reloading works when turned on
config.after_initialize do
Engines.init if defined? :Engines
end