Merge branch 'master' into 3882-cancel-already-cancelled-job
[arvados.git] / apps / workbench / app / controllers / pipeline_templates_controller.rb
index 3e931004be78d52eb9f2ae87222925303c24905e..2b2e9a4e33925da7899007910b213ce130811303 100644 (file)
@@ -1,6 +1,12 @@
 class PipelineTemplatesController < ApplicationController
-  before_filter :ensure_current_user_is_admin
-  def index
-    @objects = model_class.all
+  include PipelineComponentsHelper
+
+  def show
+    @objects = PipelineInstance.where(pipeline_template_uuid: @object.uuid)
+    super
+  end
+
+  def show_pane_list
+    %w(Components Pipelines Advanced)
   end
 end