X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a59152e34814f453a7380e68a55534e2f8922d57..78ae561901fff56fad51a5aea9c92f3cea6f4bb3:/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..2b2e9a4e33 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 + include PipelineComponentsHelper + + def show + @objects = PipelineInstance.where(pipeline_template_uuid: @object.uuid) + super + end + + def show_pane_list + %w(Components Pipelines Advanced) end end