diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-02-07 20:48:26 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-02-07 20:48:26 +0000 |
commit | 0fa0848521a7b04b97f9328e535d2351ef4533e4 (patch) | |
tree | 145576c7c899bc9981339183eeca1fc507f1e427 /lib/redmine/themes.rb | |
parent | 9b540ae8af48a645548a12f77630e07aae8330ba (diff) | |
download | redmine-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 'lib/redmine/themes.rb')
-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 57fcd80d7..14e04f063 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.root}/app/assets/themes/*").select do |f| + dirs = Dir.glob("#{Rails.public_path}/themes/*").select do |f| # A theme should at least override application.css File.directory?(f) && File.exist?("#{f}/stylesheets/application.css") end |