app/services/curation_concern.rb in curate-0.3.2 vs app/services/curation_concern.rb in curate-0.4.2
- old
+ new
@@ -16,7 +16,10 @@
file_to_attach,
file_to_attach.original_filename,
'content',
user
)
+ true
+ rescue ActiveFedora::RecordInvalid
+ false
end
end