tramway-user 1.0.2 → 1.0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da3240cc9438fdeeee4ba644096db1d80c4fb71fb63ee37afe76d6e276b033ed
4
- data.tar.gz: '0378e07f2013371f783ab8fbe073818f0a11e422bad7d6db7fa505a2128ed589'
3
+ metadata.gz: 8487d538621fb43abe2d3b833eb4150b89eea32ffae6be563aac1e82b50f400b
4
+ data.tar.gz: c81f478c6839c6b9478b40dc42720514e8e40f14c19c3dde8bb53bb541de47a9
5
5
  SHA512:
6
- metadata.gz: c410b497a75bd06f7d7a02455256a0d8e2d0c52b96e59fcf4e2a911d9689b5cbbd9c368a644c0e3264ec73dc808f3ab76e701426e5975a3f9805f0a4664a952b
7
- data.tar.gz: 4069568a5831ecd396495f4023aadddf95c70f27724fc6f98040a1d815a952c6025fcfc4e0a6b2a84673bb135bd722d9521286d1e85121fc8bd90839df1e8725
6
+ metadata.gz: db53258f73f04f8872f79be66cd92e6d0e83083f341ac9f65f65fbcadd646818da4e47b8a76b9336c8f8e9d23578649d40e07121b1441f809310bc85c79e09d6
7
+ data.tar.gz: 2f3f2ff234f3766eaf5c037bd429caa0486747ffbe087b19de52ffc029ace9586463490b3a5c13b5b20a8110b53cdfa8e401a7690b8af8bf5c4ed36ff43ec716
@@ -25,7 +25,7 @@ module Tramway::User
25
25
  private
26
26
 
27
27
  def redirect_if_signed_in
28
- redirect_to ::Tramway::User.root_path if signed_in?
28
+ redirect_to ::Tramway::User.root_path if signed_in? && request.env['PATH_INFO'] != ::Tramway::User.root_path
29
29
  end
30
30
  end
31
31
  end
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module User
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-user
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov