@@ -40,7 +40,7 class SettingsController < ApplicationController | |||||
40 | @options[:user_format] = User::USER_FORMATS.keys.collect {|f| [User.current.name(f), f.to_s] } |
|
40 | @options[:user_format] = User::USER_FORMATS.keys.collect {|f| [User.current.name(f), f.to_s] } | |
41 | @deliveries = ActionMailer::Base.perform_deliveries |
|
41 | @deliveries = ActionMailer::Base.perform_deliveries | |
42 |
|
42 | |||
43 | @guessed_host_and_path = request.host_with_port |
|
43 | @guessed_host_and_path = request.host_with_port.dup | |
44 | @guessed_host_and_path << ('/'+ Redmine::Utils.relative_url_root.gsub(%r{^\/}, '')) unless Redmine::Utils.relative_url_root.blank? |
|
44 | @guessed_host_and_path << ('/'+ Redmine::Utils.relative_url_root.gsub(%r{^\/}, '')) unless Redmine::Utils.relative_url_root.blank? | |
45 | end |
|
45 | end | |
46 |
|
46 |
General Comments 0
You need to be logged in to leave comments.
Login now