diff options
Diffstat (limited to 'config/initializers/30-redmine.rb')
-rw-r--r-- | config/initializers/30-redmine.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/initializers/30-redmine.rb b/config/initializers/30-redmine.rb index 4eceaf06d..cf13cab20 100644 --- a/config/initializers/30-redmine.rb +++ b/config/initializers/30-redmine.rb @@ -24,7 +24,10 @@ Redmine::PluginLoader.load Rails.application.config.to_prepare do default_paths = [] - Rails.application.config.assets.redmine_default_asset_path = Redmine::AssetPath.new(Rails.public_path, default_paths) + default_paths << Rails.root.join("app/assets/javascripts") + default_paths << Rails.root.join("app/assets/images") + default_paths << Rails.root.join("app/assets/stylesheets") + Rails.application.config.assets.redmine_default_asset_path = Redmine::AssetPath.new(Rails.root.join('app/assets'), default_paths) Redmine::FieldFormat::RecordList.subclasses.each do |klass| klass.instance.reset_target_class |