diff options
-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 d0c90e3a9..57cdecb10 100644 --- a/lib/redmine/themes.rb +++ b/lib/redmine/themes.rb @@ -54,7 +54,7 @@ module Redmine private def self.scan_themes - dirs = Dir.glob("#{RAILS_ROOT}/public/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 |