effective_pages 3.4.8 → 3.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/effective_pages/version.rb +1 -1
- data/lib/effective_pages.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5748cf10a1d447f6b636dc8972884464700b3752ed96086e3a16991621b2955a
|
4
|
+
data.tar.gz: 027050a2f8acd57d4e8170e3a900c02c4dde8c1a3b3f4f2465222dc91525cf5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3be8ad1c24739aaf895becf0865176d6165cf5ebbf58a3f85b3df02763ef6d59449c298f2ba13c0b0dd6f0dee46828e78112b91a865773b693f330fa48496129
|
7
|
+
data.tar.gz: 5cdd3c7b4b294c525398d7b3405f042092de6d141d42bcdb175dfdd3eb32926c000fccf9eb3da9cb5f3fd5276188f8615ba5681c78d4931f08cc5716ff5a2a28
|
data/lib/effective_pages.rb
CHANGED
@@ -60,11 +60,11 @@ module EffectivePages
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def self.carousels?
|
63
|
-
carousels.kind_of?(Array)
|
63
|
+
carousels.kind_of?(Array) && carousels.present?
|
64
64
|
end
|
65
65
|
|
66
66
|
def self.menus?
|
67
|
-
menus.kind_of?(Array)
|
67
|
+
menus.kind_of?(Array) && menus.present?
|
68
68
|
end
|
69
69
|
|
70
70
|
end
|