[ARVADOS] updated: 5b1602a521d3f6689f5988cdc2b25b74ff9fc1e1
git at public.curoverse.com
git at public.curoverse.com
Mon Apr 27 18:39:50 EDT 2015
Summary of changes:
apps/workbench/app/helpers/application_helper.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 5b1602a521d3f6689f5988cdc2b25b74ff9fc1e1 (commit)
from 11a007fd7bbc3b35b6efd62c84d9ca5a8f45aecb (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 5b1602a521d3f6689f5988cdc2b25b74ff9fc1e1
Author: Radhika Chippada <radhika at curoverse.com>
Date: Mon Apr 27 18:30:22 2015 -0400
5827: check readable only attrvalue is a string
diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb
index d1ee6cb..a8b88a3 100644
--- a/apps/workbench/app/helpers/application_helper.rb
+++ b/apps/workbench/app/helpers/application_helper.rb
@@ -182,7 +182,7 @@ module ApplicationHelper
end
def link_to_arvados_object_if_readable(attrvalue, link_text_if_not_readable, opts={})
- resource_class = resource_class_for_uuid(attrvalue.split('/')[0]) if attrvalue
+ resource_class = resource_class_for_uuid(attrvalue.split('/')[0]) if attrvalue.is_a?(String)
if !resource_class
return link_to_if_arvados_object attrvalue, opts
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list