4523: Merge branch '4523-search-index' of git.curoverse.com:arvados into 4523-search...
[arvados.git] / apps / workbench / app / controllers / pipeline_templates_controller.rb
index 98101b5e9b0953b61060a554d54456d8c37b7841..2b2e9a4e33925da7899007910b213ce130811303 100644 (file)
@@ -1,15 +1,12 @@
 class PipelineTemplatesController < ApplicationController
-  
+  include PipelineComponentsHelper
+
   def show
-    @objects = [] 
-    PipelineInstance.where(pipeline_template_uuid: @object.uuid).each do |pipeline|
-      @objects.push(pipeline)
-    end
+    @objects = PipelineInstance.where(pipeline_template_uuid: @object.uuid)
     super
   end
 
   def show_pane_list
-    %w(Components Pipelines Attributes Metadata JSON API)
+    %w(Components Pipelines Advanced)
   end
-
 end