X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a59152e34814f453a7380e68a55534e2f8922d57..d649a716392760cd394e18a628dc23aaec5fa3b3:/apps/workbench/app/controllers/pipeline_templates_controller.rb diff --git a/apps/workbench/app/controllers/pipeline_templates_controller.rb b/apps/workbench/app/controllers/pipeline_templates_controller.rb index 3e931004be..5173d4e376 100644 --- a/apps/workbench/app/controllers/pipeline_templates_controller.rb +++ b/apps/workbench/app/controllers/pipeline_templates_controller.rb @@ -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