projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use class_for_display more.
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
arvados_resource_list.rb
diff --git
a/apps/workbench/app/models/arvados_resource_list.rb
b/apps/workbench/app/models/arvados_resource_list.rb
index f6bcaae9b126b357499e9f3d93ae402f3fe559a5..d585b3ca9df22afad4314c056341be9398e2cf8f 100644
(file)
--- a/
apps/workbench/app/models/arvados_resource_list.rb
+++ b/
apps/workbench/app/models/arvados_resource_list.rb
@@
-164,7
+164,8
@@
class ArvadosResourceList
end
end
- def name_for item_or_uuid
+ # Note: this arbitrarily chooses one of (possibly) multiple names.
+ def names_for item_or_uuid
links_for(item_or_uuid, 'name').first.andand.name
end