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 +4 -4
- data/app/controllers/c80_news_tz/sessions_controller.rb +5 -2
- data/lib/c80_news_tz/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 882d379fd838ab5304443cba28d6583514cdbc06
|
4
|
+
data.tar.gz: 769985240918b79a42d7d40b1377597721053723
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
25
|
+
rescue
|
25
26
|
end
|
26
27
|
|
28
|
+
flash[:success] = 'See you!'
|
29
|
+
|
27
30
|
redirect_to request.referer
|
28
31
|
|
29
32
|
end
|
data/lib/c80_news_tz/version.rb
CHANGED