caboose-cms 0.4.63 → 0.4.64
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2Y0MDJjZDc3ZTM5NTk2ZWUxNDE4MzE3ZGNkNDA2ZmQxNGFlNWY1MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDA1ZWQ2YTc0YjE1YjlhZGM0Y2MyNWNmMTY0ODA4ZGIwZDA3YTgyZg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmUzNDY2YjVjMmU2YzU5OGYwM2I5MWE0MjdiNjFkNGIzYzcxYjk4ZWQ3M2Fh
|
10
|
+
OTA0NTVkYTk4N2Y1ZTZlMDBlZGNiNTRhOGIyNzU4NzkxNGNmOThjMDgxNTli
|
11
|
+
YWRlYjc3MWU0OTlkZDFjMjNiNTNjMDY3OWQ5ZTViYjZhMWQ3YWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OWNkNzZkNDBjNWEyYjZjNDZjZWM4Njg0ZjQ0OGZjODYyNzQ4Y2VjNmVkMDBi
|
14
|
+
NWZlOGI5YTdhMDk5NjZjZDkxYmM4YzVjMzg2Y2FmMjQxNjU5ZTE1MTZjNGUy
|
15
|
+
YzRmNDlhYmZkY2FhMTdlN2QwYjNiMmQ4YzAzMDUwZjU4ODA0OTE=
|
@@ -106,7 +106,10 @@ module Caboose
|
|
106
106
|
def admin_index
|
107
107
|
return if !user_is_allowed('pages', 'view')
|
108
108
|
@domain = Domain.where(:domain => request.host_with_port).first
|
109
|
-
@home_page = @domain ? Page.index_page(@domain.site_id) : nil
|
109
|
+
@home_page = @domain ? Page.index_page(@domain.site_id) : nil
|
110
|
+
if @domain && @home_page.nil?
|
111
|
+
@home_page = Caboose::Page.create(:site_id => @domain.site_id, :parent_id => -1, :title => 'Home')
|
112
|
+
end
|
110
113
|
render :layout => 'caboose/admin'
|
111
114
|
end
|
112
115
|
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.64
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -299,6 +299,7 @@ files:
|
|
299
299
|
- app/models/caboose/page_bar_generator.rb
|
300
300
|
- app/models/caboose/page_permission.rb
|
301
301
|
- app/models/caboose/pager.rb
|
302
|
+
- app/models/caboose/permanent_redirect.rb
|
302
303
|
- app/models/caboose/permission.rb
|
303
304
|
- app/models/caboose/post.rb
|
304
305
|
- app/models/caboose/post_category.rb
|