[ARVADOS] updated: f3b4b263d8c656e15993ea71146747e8cf102bf9

git at public.curoverse.com git at public.curoverse.com
Thu Jun 5 11:21:23 EDT 2014


Summary of changes:
 apps/workbench/app/helpers/application_helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  f3b4b263d8c656e15993ea71146747e8cf102bf9 (commit)
      from  16cc50a4161448f9987635e06fe3d772ee0321ab (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit f3b4b263d8c656e15993ea71146747e8cf102bf9
Author: radhika <radhika at curoverse.com>
Date:   Thu Jun 5 11:03:11 2014 -0400

    2871: handle if there is no friendly_link_name in link

diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb
index 5cfe475..43c96b5 100644
--- a/apps/workbench/app/helpers/application_helper.rb
+++ b/apps/workbench/app/helpers/application_helper.rb
@@ -90,7 +90,7 @@ module ApplicationHelper
           else
             begin
               if resource_class.name == 'Collection'
-                link_name = collections_for_object(link_uuid).first.friendly_link_name
+                link_name = collections_for_object(link_uuid).andand.first.andand.friendly_link_name
               else
                 link_name = object_for_dataclass(resource_class, link_uuid).friendly_link_name
               end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list