app/serializers/spotlight/featured_image_representer.rb in blacklight-spotlight-0.8.0 vs app/serializers/spotlight/featured_image_representer.rb in blacklight-spotlight-0.8.1

- old
+ new

@@ -11,9 +11,11 @@ property :image, exec_context: :decorator def image file = represented.image.file + return unless file + { filename: file.filename, content_type: file.content_type, content: Base64.encode64(file.read) } end def image=(file) represented.image = CarrierWave::SanitizedFile.new tempfile: StringIO.new(Base64.decode64(file['content'])),