lib/para/attribute_field/image.rb in para-0.6.3 vs lib/para/attribute_field/image.rb in para-0.6.7
- old
+ new
@@ -11,9 +11,13 @@
if instance.send(:"#{ name }?")
image_tag(instance.send(name).url(style))
end
end
+ def excerptable_value?
+ false
+ end
+
private
def attachment_thumb_style_for(instance)
styles = instance.send(name).styles.map(&:first)
# Check if there's a :thumb or :thumbnail style in attachment definition