caboose-cms 0.7.38 → 0.7.39

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: 95c98700fe9e21bf2a9fb5cf9547ffaebc869d5e
4
- data.tar.gz: ae7208e3ecf4a964735463781af60da3f571f8ad
3
+ metadata.gz: 4cc985f9f45e66ffdbec6af1cfd5bb2f70add4c4
4
+ data.tar.gz: 5183c3b06b9b0a3311ff6543464d515caab7ad12
5
5
  SHA512:
6
- metadata.gz: a6707d9d5bec9203435e4456f019a1741c95a82de9fae6f03c3c9d40c003f7c754e1e8a1f0703d3772106d0de6e448d50898eda43c5bf910efcdc6379119ba17
7
- data.tar.gz: c1cc6916af5c0d24738074a7cd0cac7479a778393620b3f5a7344a4a8fb37927792a5c9dc4c44752a8f7a94e7e3eb511049c901f78adf45caa298bd8178e851e
6
+ metadata.gz: fba1f06f6f63a9af56e63c5c741a774201cfaf834f2876098ceb34ef263d95316c2514dd3e9cd66fe5b760d8c47887e23f2197de938b3318f31b1a33219a9610
7
+ data.tar.gz: 6c1e3ee1ab228696a2849febb268bee7456e0796b2735f19a36d083e2d94df8c12ffe4ef2b947eb0ea321cac812ba85eda7b6842d6ac46418cd9476d073bc4b6
@@ -10,7 +10,7 @@ module Caboose
10
10
  @page = Page.find(page_id)
11
11
  @tab = params['tab']
12
12
 
13
- if (@user.nil? || @user == Caboose::User.logged_out_user)
13
+ if @user.nil? || @user.id == Caboose::User.logged_out_user_id(@site.id)
14
14
  redirect_to "/login"
15
15
  end
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.7.38'
2
+ VERSION = '0.7.39'
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.7.38
4
+ version: 0.7.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry