app/actors/hyrax/actors/base_actor.rb in hyrax-3.0.0.pre.rc2 vs app/actors/hyrax/actors/base_actor.rb in hyrax-3.0.0.pre.rc3
- old
+ new
@@ -90,10 +90,9 @@
env.curation_concern.date_modified = TimeService.time_in_utc
end
# Cast any singular values from the form to multiple values for persistence
# also remove any blank assertions
- # TODO this method could move to the work form.
def clean_attributes(attributes)
attributes[:license] = Array(attributes[:license]) if attributes.key? :license
attributes[:rights_statement] = Array(attributes[:rights_statement]) if attributes.key? :rights_statement
remove_blank_attributes!(attributes)
end