]> source.dussan.org Git - redmine.git/commitdiff
Fixed: Themes are not applied with Rails 2.0
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 7 Jan 2008 20:14:50 +0000 (20:14 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 7 Jan 2008 20:14:50 +0000 (20:14 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1047 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/themes.rb

index a7cf940b89c9a4e7065c70360793b40fdca2d94f..d0c90e3a9c95a6aa1440901b5d4acbf7f1e7cc42 100644 (file)
@@ -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