From 0fa0848521a7b04b97f9328e535d2351ef4533e4 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Wed, 7 Feb 2024 20:48:26 +0000 Subject: Reverts r22694 (#39111). git-svn-id: https://svn.redmine.org/redmine/trunk@22695 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/themes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3