summaryrefslogtreecommitdiffstats
path: root/config/initializers/30-redmine.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/30-redmine.rb')
-rw-r--r--config/initializers/30-redmine.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/30-redmine.rb b/config/initializers/30-redmine.rb
index 4286081db..58972b023 100644
--- a/config/initializers/30-redmine.rb
+++ b/config/initializers/30-redmine.rb
@@ -5,3 +5,6 @@ I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
require 'redmine'
Redmine::Plugin.load
+unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false
+ Redmine::Plugin.mirror_assets
+end