effective_regions 1.4.6 → 1.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/effective_regions_helper.rb +2 -2
- data/lib/effective_regions/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c68f8b9320e92711bff9e48cff2c10ea1cca058e
|
4
|
+
data.tar.gz: ad1412d4611d786ff37aff95ab1a28f1fcdc4ddf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e341d276e8691a305c1af17114f5aa103c70abcbe7b44e269275b569674b3c2b34a08e70aad86cb7fd2e9e2788cffe0113d68271f8b375ddc6d0f86dfcb44c0b
|
7
|
+
data.tar.gz: 31da5d284bb39032425b1cf7c9cf41e1b652694dad89105cea4476370fef10210bf584d44dab02486b43cd4c9eb87f8024d329a9805ea07a502d17ef44c0baf0
|
@@ -83,10 +83,10 @@ module EffectiveRegionsHelper
|
|
83
83
|
|
84
84
|
if effectively_editting? && (can_edit && options[:editable] != false) # If we need the editable div
|
85
85
|
content_tag(editable_tag, opts) do
|
86
|
-
region.try(:content).present? ? render_region(region, true) : (
|
86
|
+
region.try(:content).present? ? render_region(region, true) : (capture(&block) if block_given?)
|
87
87
|
end
|
88
88
|
else
|
89
|
-
region.try(:content).present? ? render_region(region, false) : (
|
89
|
+
region.try(:content).present? ? render_region(region, false) : (capture(&block) if block_given?)
|
90
90
|
end
|
91
91
|
end
|
92
92
|
|