summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-02-07 20:48:26 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-02-07 20:48:26 +0000
commit0fa0848521a7b04b97f9328e535d2351ef4533e4 (patch)
tree145576c7c899bc9981339183eeca1fc507f1e427 /config
parent9b540ae8af48a645548a12f77630e07aae8330ba (diff)
downloadredmine-0fa0848521a7b04b97f9328e535d2351ef4533e4.tar.gz
redmine-0fa0848521a7b04b97f9328e535d2351ef4533e4.zip
Reverts r22694 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22695 e93f8b46-1217-0410-a6f0-8f06a7374b81
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|