diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-02-07 20:44:44 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-02-07 20:44:44 +0000 |
commit | 9b540ae8af48a645548a12f77630e07aae8330ba (patch) | |
tree | eb9d742e31b28575ebcd0656a73b00607fc7440b /lib/redmine | |
parent | e46cf51650a7e83effaa44cc045c0af409ea9ce9 (diff) | |
download | redmine-9b540ae8af48a645548a12f77630e07aae8330ba.tar.gz redmine-9b540ae8af48a645548a12f77630e07aae8330ba.zip |
Move public assets (images, javascripts, stylesheets, themes) to app/assets (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22694 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/themes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/themes.rb b/lib/redmine/themes.rb index 14e04f063..57fcd80d7 100644 --- a/lib/redmine/themes.rb +++ b/lib/redmine/themes.rb @@ -148,7 +148,7 @@ module Redmine end def self.scan_themes - dirs = Dir.glob("#{Rails.public_path}/themes/*").select do |f| + dirs = Dir.glob("#{Rails.root}/app/assets/themes/*").select do |f| # A theme should at least override application.css File.directory?(f) && File.exist?("#{f}/stylesheets/application.css") end |