2809: Merge branch '2809-workbench-rails4' refs #2809
[arvados.git] / apps / workbench / app / controllers / pipeline_templates_controller.rb
index 3e931004be78d52eb9f2ae87222925303c24905e..5173d4e376b9a2ae244ca90d05b3130f3e2e06d7 100644 (file)
@@ -1,6 +1,12 @@
 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 Attributes Metadata JSON API)
+  end
+
 end