[ARVADOS] updated: 6980251b6acb935d84706133c5837f597c69ead8

git at public.curoverse.com git at public.curoverse.com
Fri Jun 27 08:45:58 EDT 2014


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

       via  6980251b6acb935d84706133c5837f597c69ead8 (commit)
      from  4a78635a105b43bac10f2f14a4a549f2b05c8a5c (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 6980251b6acb935d84706133c5837f597c69ead8
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Fri Jun 27 08:45:50 2014 -0400

    Fixed render_pipeline_component_attribute test if dataclass derives from ArvadosBase.

diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb
index 26be289..80eb16a 100644
--- a/apps/workbench/app/helpers/application_helper.rb
+++ b/apps/workbench/app/helpers/application_helper.rb
@@ -306,7 +306,7 @@ module ApplicationHelper
     selectables = []
 
     attrtext = attrvalue
-    if dataclass and dataclass.is_a? ArvadosBase
+    if dataclass.is_a? Class and dataclass < ArvadosBase
       objects = get_n_objects_of_class dataclass, 10
       objects.each do |item|
         items << item

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list