c80_news_tz 0.1.1.22 → 0.1.1.23

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
  SHA1:
3
- metadata.gz: f176c63a7d34761544aeadf49b255c7e871ec83d
4
- data.tar.gz: ce4470d35eaec9c3cdc5dc51ea17b0fcbd3ff37d
3
+ metadata.gz: 882d379fd838ab5304443cba28d6583514cdbc06
4
+ data.tar.gz: 769985240918b79a42d7d40b1377597721053723
5
5
  SHA512:
6
- metadata.gz: e17cb7c6e990ea0c756f07f43cdcc5260e615410f8be402130310e5259509e54127aea0e7f99cf1376b0fe9e5daf7efc15f8906ea7edf9f72f99f1a2d7a7a42a
7
- data.tar.gz: 166791118577e689e52b4ccbac7a30ca807a7ac883f172e2461ab5a32654bbe8406d3e0b9653cb2c04b593015038dbfb31ee294a3557179251aa5934eccde1a9
6
+ metadata.gz: da3c15500734ba6eaaff3a7e3cb09876751b000d850cf1b59860446d59dcaab959b2557966bb3c23960abbffda4a7e10ba79aad36bf6067197e9a018020d6ba9
7
+ data.tar.gz: 856a9c44a7573a5cf2c2e90288873b9349bea36eb5abddd873ce953a6ed31bab1d28d3cd856ed8fc4dea2622e5b6de3691fcb197913f6731f6aed9e6e1a32d8e
@@ -19,11 +19,14 @@ module C80NewsTz
19
19
  end
20
20
 
21
21
  def destroy
22
- if current_user
22
+ #if current_user
23
+ begin
23
24
  session.delete(:user_id)
24
- flash[:success] = 'See you!'
25
+ rescue
25
26
  end
26
27
 
28
+ flash[:success] = 'See you!'
29
+
27
30
  redirect_to request.referer
28
31
 
29
32
  end
@@ -1,3 +1,3 @@
1
1
  module C80NewsTz
2
- VERSION = "0.1.1.22"
2
+ VERSION = "0.1.1.23"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c80_news_tz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.22
4
+ version: 0.1.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - C80609A