caboose-cms 0.5.178 → 0.5.179
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 +10 -12
- 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
|
+
NTg4ZjU1ZDE1NmM0Y2Q0OTdmMDhmOTRjODIzMjQ1MGU0ZDE4MWYwNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGYyZWMxODBlZmJlMTZiNjI4NDZkM2RlZWRiZTExZmMwZjZjZmQ0OA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2Y0NWVkMzYyZmRiMDI1ZTYyNDgwN2EzNzI1NDc5YWYyYmQwYzAwMmEzYjg5
|
10
|
+
OWVhMDFlYzE2Y2QwNDViMTlmMWJjN2IzNDY4YjZkMjRhZjFhZTA3OWZlZThh
|
11
|
+
YjYwM2YwZjA5ZTA2NTQ0MGI1N2VhMDNiMzY4OWQ5NDU5Mzg4OTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTJiNjYzMDlmMjEwMTY1NGRiOGRiMTA0NDZlNGU1MGY4YmRhODMzZTM3NWU5
|
14
|
+
YWYwZmFhZDE1ZjkzMzYwMGVlOTZiMWUwMjJmZmRhMWViN2Q4Yzg5MjAwZTZm
|
15
|
+
OTVhZmM1ZDdmMDJjNTRiZTQyMzhjNTZhMWM4Nzg0YmVhMjZmYzY=
|
@@ -26,18 +26,16 @@ module Caboose
|
|
26
26
|
end
|
27
27
|
return
|
28
28
|
# See if we're on a forwarding domain
|
29
|
-
elsif !d.primary && d.forward_to_primary
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
else
|
40
|
-
#Caboose.log(request.inspect)
|
29
|
+
#elsif !d.primary && d.forward_to_primary
|
30
|
+
# pd = d.site.primary_domain
|
31
|
+
# if pd
|
32
|
+
# url = "#{request.protocol}#{pd.domain}"
|
33
|
+
# if request.fullpath && request.fullpath.strip.length > 0 && request.fullpath.strip != '/'
|
34
|
+
# url << request.fullpath
|
35
|
+
# end
|
36
|
+
# redirect_to url
|
37
|
+
# return
|
38
|
+
# end
|
41
39
|
end
|
42
40
|
|
43
41
|
if !page
|
data/lib/caboose/version.rb
CHANGED