lib/paperclip-fedora.rb in paperclip-fedora-0.2.7 vs lib/paperclip-fedora.rb in paperclip-fedora-0.2.8
- old
+ new
@@ -96,10 +96,9 @@
def fedora_object
@object_id = instance.uuid || @custom_pid || path()
@path = @object_id
@url = "#{@server_url}/objects/#{@path}/datastreams/:style/content"
object = fedora.find(@object_id)
- object.label = @object_id
saved_object = object.save
paperclip_styles = object.datastreams['paperclip_styles']
if paperclip_styles.new?
paperclip_styles.controlGroup = 'M'
paperclip_styles.dsLabel = "Paperclip styles - Used for deletion tracking"