minimalist_authentication 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,11 +38,11 @@ module Minimalist
38
38
  end
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)
45
- redirect_to(session.delete(:return_to) || default)
45
+ redirect_to(session.delete('return_to') || default)
46
46
  end
47
47
  end
48
48
  end
@@ -1,3 +1,3 @@
1
1
  module MinimalistAuthentication
2
- VERSION = '0.6.3'
2
+ VERSION = '0.6.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimalist_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-08-16 00:00:00.000000000 Z
14
+ date: 2012-09-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bcrypt-ruby