Merge branch 'master' into 3140-project-content-tabs
[arvados.git] / apps / workbench / app / controllers / pipeline_templates_controller.rb
index 3e931004be78d52eb9f2ae87222925303c24905e..2be51c6a1804968e9785dae7d5381a84b913e5fe 100644 (file)
@@ -1,6 +1,11 @@
 class PipelineTemplatesController < ApplicationController
-  before_filter :ensure_current_user_is_admin
-  def index
-    @objects = model_class.all
+  
+  def show
+    @objects = PipelineInstance.where(pipeline_template_uuid: @object.uuid)
+    super
+  end
+
+  def show_pane_list
+    %w(Components Pipelines Advanced)
   end
 end