shibboleth-rails 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,9 +39,7 @@ module Shibboleth::Rails
39
39
  end
40
40
 
41
41
  def requested_url
42
- if request.xhr?
43
- url_for :controller => 'root', :action => 'show', :xhr => 'true'
44
- elsif request.respond_to?(:url)
42
+ if request.respond_to? :url
45
43
  request.url
46
44
  else
47
45
  request.protocol + request.host + request.request_uri
@@ -1,5 +1,5 @@
1
1
  module Shibboleth
2
2
  module Rails
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shibboleth-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: