diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-28 09:10:46 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-28 09:10:46 +0000 |
commit | 03335d014ceb42d8db670606e3960b5fd84cb7c3 (patch) | |
tree | 0ce368dfb2f336ada99dac6db73b8f17c73c875b /lib/redmine/themes.rb | |
parent | f12942ff400878a407c3523e295fe0dbc65760b0 (diff) | |
download | redmine-03335d014ceb42d8db670606e3960b5fd84cb7c3.tar.gz redmine-03335d014ceb42d8db670606e3960b5fd84cb7c3.zip |
Restores support for :plugin support to stylesheet_link_tag and javascript_include_tag helpers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9558 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/themes.rb')
-rw-r--r-- | lib/redmine/themes.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/redmine/themes.rb b/lib/redmine/themes.rb index 51b974fd7..5e5261927 100644 --- a/lib/redmine/themes.rb +++ b/lib/redmine/themes.rb @@ -106,26 +106,6 @@ module ApplicationHelper @current_theme end - def stylesheet_path(source) - if current_theme && current_theme.stylesheets.include?(source) - super current_theme.stylesheet_path(source) - else - super - end - end - - def path_to_stylesheet(source) - stylesheet_path source - end - - def stylesheet_link_tag(source, *args) - if current_theme && current_theme.stylesheets.include?(source) - super current_theme.stylesheet_path(source), *args - else - super - end - end - # Returns the header tags for the current theme def heads_for_theme if current_theme && current_theme.javascripts.include?('theme') |