Fix name_for method name.
authorTom Clegg <tom@curoverse.com>
Fri, 2 May 2014 14:34:10 +0000 (10:34 -0400)
committerTom Clegg <tom@curoverse.com>
Fri, 2 May 2014 14:34:10 +0000 (10:34 -0400)
apps/workbench/app/models/arvados_resource_list.rb

index d585b3ca9df22afad4314c056341be9398e2cf8f..1e2cf64a2f897ff74ce36648d2a558886a9e3a52 100644 (file)
@@ -165,7 +165,7 @@ class ArvadosResourceList
   end
 
   # Note: this arbitrarily chooses one of (possibly) multiple names.
-  def names_for item_or_uuid
+  def name_for item_or_uuid
     links_for(item_or_uuid, 'name').first.andand.name
   end