app/models/katalyst/content/figure.rb in katalyst-content-0.2.0 vs app/models/katalyst/content/figure.rb in katalyst-content-0.2.1

- old
+ new

@@ -18,10 +18,10 @@ super # if image has changed, duplicate the change, otherwise attach the existing blob if source.attachment_changes["image"] self.image = source.attachment_changes["image"].attachable - elsif source.image.attached? + elsif source.image.attached? && !source.image.marked_for_destruction? image.attach(source.image.blob) end end def self.permitted_params