auth_logic_user_session_helper 2.0.2 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,8 +17,8 @@ end
17
17
 
18
18
  ActionController::Base.send(:include, AuthLogic::UserSessionHelper)
19
19
 
20
- if RAILS_ENV.eql? 'test'
21
- require 'test_help'
20
+ if Rails.env.eql? 'test'
21
+ require 'rails/test_help'
22
22
  require 'auth_logic_user_session_helper/auth_logic_test_helper'
23
23
  ActiveSupport::TestCase.send(:include, AuthLogic::TestHelper)
24
24
  end
@@ -38,7 +38,7 @@ module AuthLogic
38
38
  # Redirect back
39
39
 
40
40
  def store_location
41
- session[:return_to] = request.request_uri
41
+ session[:return_to] = request.fullpath
42
42
  end
43
43
 
44
44
  def redirect_back_or_default(default)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auth_logic_user_session_helper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
- - 2
7
+ - 3
8
8
  - 0
9
- - 2
10
- version: 2.0.2
9
+ - 0
10
+ version: 3.0.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brent Greeff