caboose-cms 0.9.135 → 0.9.136
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/caboose/application_controller.rb +1 -1
- data/lib/caboose/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: e7aab172d514a078354712d2e901138f20b37e30
|
4
|
+
data.tar.gz: 59818bc8e34f7045526d6ab0ed20567082ab3984
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e18ed335191fda464d69ba666773bdb601bed75c770401fc2426f25cf04f4fe508fc2d604b1e3205be52f22d51e120223896abb1bc8c508669a44b7a3ac3f92
|
7
|
+
data.tar.gz: f0e09160bc323b8b892dec0ab85ed57e1b98de5e93d3aac83a482935b95852bd6309af565af7b486d3e2656eda4c15147d67d88c09eb605171a2123a34f7db81
|
@@ -187,7 +187,7 @@ module Caboose
|
|
187
187
|
# Returns the currently logged in user
|
188
188
|
def logged_in_user
|
189
189
|
if (!logged_in?)
|
190
|
-
return User.logged_out_user(@site.id)
|
190
|
+
return User.logged_out_user(@site.id) if @site
|
191
191
|
end
|
192
192
|
#return nil if !logged_in?
|
193
193
|
return Caboose::User.where(:id => session["app_user"].id).first
|
data/lib/caboose/version.rb
CHANGED