diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2009-02-11 19:07:00 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2009-02-11 19:07:00 +0000 |
commit | a4e6e13b704ebf3073d5209b297aec3ae889989c (patch) | |
tree | 3cc6158df9a578298d68222fcac94cfe00dac985 /vendor | |
parent | dbf02e2654dba7863ed71159c481fa3f9f4a0bb0 (diff) | |
download | redmine-a4e6e13b704ebf3073d5209b297aec3ae889989c.tar.gz redmine-a4e6e13b704ebf3073d5209b297aec3ae889989c.zip |
Fixed a bug in open_id_authentication, where relative_url_root is defined
on ActionController:AbstractRequest not Base
#699
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2441 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/plugins/open_id_authentication/lib/open_id_authentication.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb b/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb index 2cebcf624..54a38acc1 100644 --- a/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb +++ b/vendor/plugins/open_id_authentication/lib/open_id_authentication.rb @@ -222,7 +222,7 @@ module OpenIdAuthentication relative_url_root = self.class.respond_to?(:relative_url_root) ? self.class.relative_url_root.to_s : request.relative_url_root - "#{request.protocol}#{request.host_with_port}#{ActionController::Base.relative_url_root}#{request.path}" + "#{request.protocol}#{request.host_with_port}#{ActionController::AbstractRequest.relative_url_root}#{request.path}" end def timeout_protection_from_identity_server |