diff --git a/lib/redmine/themes.rb b/lib/redmine/themes.rb index a7cf940b8..d0c90e3a9 100644 --- a/lib/redmine/themes.rb +++ b/lib/redmine/themes.rb @@ -69,4 +69,8 @@ module ApplicationHelper super((@current_theme && @current_theme.stylesheets.include?(source)) ? "/themes/#{@current_theme.dir}/stylesheets/#{source}" : source) end + + def path_to_stylesheet(source) + stylesheet_path source + end end