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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2390d0194741e14fcbe3c793fe4e1d3efce280e3
4
- data.tar.gz: 381c777c54b1c76192d6e68ab14857784d3931ee
3
+ metadata.gz: e7aab172d514a078354712d2e901138f20b37e30
4
+ data.tar.gz: 59818bc8e34f7045526d6ab0ed20567082ab3984
5
5
  SHA512:
6
- metadata.gz: 68afb4b1b1a2eb61c3d571047f8c882bde110b014d4509f084560650081975706966f08c4d5dbff94af9d58a4956a5526acdcb7d6b90b984ef721c41599e5fbe
7
- data.tar.gz: 5d4df4df76087c9c0b77a36a71a54bdeb677e0880afd9dc53846975a2ea32c394efc48ec8edcb29441129d1c3d62239a8c35a032f1297320292d9fcf54e7f370
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
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.135'
2
+ VERSION = '0.9.136'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.135
4
+ version: 0.9.136
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry