app/repository_models/curation_concern/model.rb in curate-0.1.3 vs app/repository_models/curation_concern/model.rb in curate-0.2.0
- old
+ new
@@ -17,9 +17,11 @@
has_metadata name: "properties", type: PropertiesDatastream, control_group: 'M'
delegate_to :properties, [:relative_path, :depositor], unique: true
delegate_to :descMetadata, [:archived_object_type], unique: true
before_save :set_archived_object_type
+
+ class_attribute :human_readable_short_description
end
def human_readable_type
self.class.human_readable_type
end