diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-27 14:06:11 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-27 14:06:11 +0000 |
commit | 620c48fbbb8e418819e61e68d8488869fe7e2780 (patch) | |
tree | 7c5c60b37329a6d64f906bc620187efffe857a88 /app/controllers/settings_controller.rb | |
parent | 4faca3cd4a7d8c7d39c7e73784ccaae076471e7b (diff) | |
download | redmine-620c48fbbb8e418819e61e68d8488869fe7e2780.tar.gz redmine-620c48fbbb8e418819e61e68d8488869fe7e2780.zip |
Reload themes so that new themes can be used without restarting Redmine (#5712).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4432 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/settings_controller.rb')
-rw-r--r-- | app/controllers/settings_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb index 2e904ec19..804a7fda3 100644 --- a/app/controllers/settings_controller.rb +++ b/app/controllers/settings_controller.rb @@ -44,6 +44,8 @@ class SettingsController < ApplicationController @guessed_host_and_path = request.host_with_port.dup @guessed_host_and_path << ('/'+ Redmine::Utils.relative_url_root.gsub(%r{^\/}, '')) unless Redmine::Utils.relative_url_root.blank? + + Redmine::Themes.rescan end def plugin |