remove trailing white-spaces from settings controller source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5827 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1f0ddc3199
commit
71088ed847
|
@ -1,5 +1,5 @@
|
|||
# redMine - project management software
|
||||
# Copyright (C) 2006-2007 Jean-Philippe Lang
|
||||
# Redmine - project management software
|
||||
# Copyright (C) 2006-2011 Jean-Philippe Lang
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
class SettingsController < ApplicationController
|
||||
layout 'admin'
|
||||
|
||||
|
||||
before_filter :require_admin
|
||||
|
||||
def index
|
||||
|
@ -43,7 +43,7 @@ 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
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue