Browse Source

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
tags/0.9.0
Jean-Philippe Lang 15 years ago
parent
commit
27e3b31c1e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/controllers/settings_controller.rb

+ 1
- 1
app/controllers/settings_controller.rb View File

@@ -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…
Cancel
Save