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