caboose-cms 0.4.130 → 0.4.131
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/controllers/caboose/pages_controller.rb +3 -1
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWMyYzcwMjc1MjEzNTNkOTcyZGMyYzAzODdmNzk0ZTc2YWZlZDcwMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGZmOWUzOTM0N2U1YWY5OTUzMDg4N2ViNzIzZDdiNzQ5MmY5MTg0Yw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Nzg3MGIwMWExOWJmYjRhY2Q0OWZlMDM3ZDdjNjEwMWE1ZTAxY2M4MjMzYWZk
|
10
|
+
NmM2NzliYmRhNjRmMmQ5YTBiMzhhNzNmMjA3NjZjMWYzMWM1NWI2OTUyODJm
|
11
|
+
ZjM4ODQ4MmI1NzBkNWJiZDU0NjIwZGE1Y2JjZjliZjZmZTY2Y2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzIyOGYxOWExNDVkNWZjOWJlY2RhYWJhYmI1NTA0NWZhYWRkZjY5ZWMwYjcz
|
14
|
+
YWU3YzcwOTUxM2MxNmFiNGJhYTg4ZDI5Zjk3ZmY4ZWQwY2MxYWQ3NTAxOTZk
|
15
|
+
ZTVhNTI3MThkZDcwYTExMjRiYzNlNDQyM2VhNjNjYjRkNjQ2YTA=
|
@@ -18,7 +18,9 @@ module Caboose
|
|
18
18
|
|
19
19
|
# Make sure we're not under construction
|
20
20
|
d = Caboose::Domain.where(:domain => request.host_with_port).first
|
21
|
-
if d.
|
21
|
+
if d.nil?
|
22
|
+
Caboose.log("Could not find domain for #{request.host_with_port}\nAdd this domain to the caboose site.")
|
23
|
+
elsif d.under_construction == true
|
22
24
|
if d.site.under_construction_html && d.site.under_construction_html.strip.length > 0
|
23
25
|
render :text => d.site.under_construction_html
|
24
26
|
else
|
data/lib/caboose/version.rb
CHANGED