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.respond_to?(:url)
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
@@ -1,5 +1,5 @@
1
1
  module Shibboleth
2
2
  module Rails
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: shibboleth-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.0
5
+ version: 0.4.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - mikegee