From 620c48fbbb8e418819e61e68d8488869fe7e2780 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 27 Nov 2010 14:06:11 +0000 Subject: 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 --- app/controllers/settings_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/settings_controller.rb') 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 -- cgit v1.2.3