summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-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 01848a0ef..f19373b65 100644
--- a/config/initializers/30-redmine.rb
+++ b/config/initializers/30-redmine.rb
@@ -24,6 +24,9 @@ Redmine::PluginLoader.load
Rails.application.config.to_prepare do
default_paths = []
+ default_paths << Rails.public_path.join('javascripts')
+ default_paths << Rails.public_path.join('stylesheets')
+ default_paths << Rails.public_path.join('images')
Rails.application.config.assets.redmine_default_asset_path = Redmine::AssetPath.new(Rails.public_path, default_paths)
Redmine::FieldFormat::RecordList.subclasses.each do |klass|