objects_and_names << [object, @name_link_for[object.uuid]]
elsif object.respond_to? :name
objects_and_names << [object, object]
- elsif not Collection.attribute_info.include?(:name)
+ else
objects_and_names << [object,
Link.new(owner_uuid: @object.uuid,
tail_uuid: @object.uuid,
head_uuid: object.uuid,
link_class: "name",
name: "")]
+
end
end
objects_and_names