@@ -1,5 +1,5 | |||
|
1 |
# |
|
|
2 |
# Copyright (C) 2006-20 |
|
|
1 | # Redmine - project management software | |
|
2 | # Copyright (C) 2006-2011 Jean-Philippe Lang | |
|
3 | 3 | # |
|
4 | 4 | # This program is free software; you can redistribute it and/or |
|
5 | 5 | # modify it under the terms of the GNU General Public License |
@@ -17,7 +17,7 | |||
|
17 | 17 | |
|
18 | 18 | class SettingsController < ApplicationController |
|
19 | 19 | layout 'admin' |
|
20 | ||
|
20 | ||
|
21 | 21 | before_filter :require_admin |
|
22 | 22 | |
|
23 | 23 | def index |
@@ -43,7 +43,7 class SettingsController < ApplicationController | |||
|
43 | 43 | |
|
44 | 44 | @guessed_host_and_path = request.host_with_port.dup |
|
45 | 45 | @guessed_host_and_path << ('/'+ Redmine::Utils.relative_url_root.gsub(%r{^\/}, '')) unless Redmine::Utils.relative_url_root.blank? |
|
46 | ||
|
46 | ||
|
47 | 47 | Redmine::Themes.rescan |
|
48 | 48 | end |
|
49 | 49 | end |
General Comments 0
You need to be logged in to leave comments.
Login now