view vendor/plugins/engines/init.rb @ 831:7614169e14ed bug_352

fixes bug #352. This fix needs to be reviewd, because it changes directly the redmine core.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 31 Jan 2012 16:09:00 +0000
parents 513646585e45
children
line wrap: on
line source
# 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(initializer) if defined? :Engines
end