shibboleth-rails 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -38,7 +38,9 @@ module Shibboleth::Rails
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def requested_url
|
41
|
-
if request.
|
41
|
+
if request.xhr?
|
42
|
+
url_for :controller => 'root', :action => 'show', :xhr => 'true'
|
43
|
+
elsif request.respond_to?(:url)
|
42
44
|
request.url
|
43
45
|
else
|
44
46
|
request.protocol + request.host + request.request_uri
|