Fixed: TypeError (can't modify frozen string) on settings view (#2700).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2423 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fc6d6b1e3b
commit
27e3b31c1e
|
@ -40,7 +40,7 @@ class SettingsController < ApplicationController
|
|||
@options[:user_format] = User::USER_FORMATS.keys.collect {|f| [User.current.name(f), f.to_s] }
|
||||
@deliveries = ActionMailer::Base.perform_deliveries
|
||||
|
||||
@guessed_host_and_path = request.host_with_port
|
||||
@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?
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue