diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-04 17:09:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-04 17:09:25 +0000 |
commit | 260373aed71ede51f4bc46e34283dd66b8be1cd8 (patch) | |
tree | 4fd848b5e3e56e2a00b9d29d8d3e087789f0680b /app/controllers/settings_controller.rb | |
parent | 4a5d3e03531f37a46c80a976d5a38189db70a8ff (diff) | |
download | redmine-260373aed71ede51f4bc46e34283dd66b8be1cd8.tar.gz redmine-260373aed71ede51f4bc46e34283dd66b8be1cd8.zip |
Slight changes to ease Rails 2.2 support.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2234 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/settings_controller.rb')
-rw-r--r-- | app/controllers/settings_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb index 99f7bcf08..e9bc0a601 100644 --- a/app/controllers/settings_controller.rb +++ b/app/controllers/settings_controller.rb @@ -41,7 +41,7 @@ class SettingsController < ApplicationController @deliveries = ActionMailer::Base.perform_deliveries @guessed_host_and_path = request.host_with_port - @guessed_host_and_path << ('/'+ request.relative_url_root.gsub(%r{^\/}, '')) unless request.relative_url_root.blank? + @guessed_host_and_path << ('/'+ Redmine::Utils.relative_url_root.gsub(%r{^\/}, '')) unless Redmine::Utils.relative_url_root.blank? end def plugin |