]> git.arvados.org - arvados.git/blob - apps/workbench/app/controllers/pipeline_templates_controller.rb
Merge branch 'master' into 6279-web-shell-client
[arvados.git] / apps / workbench / app / controllers / pipeline_templates_controller.rb
1 class PipelineTemplatesController < ApplicationController
2   skip_around_filter :require_thread_api_token, if: proc { |ctrl|
3     Rails.configuration.anonymous_user_token and
4     'show' == ctrl.action_name
5   }
6
7   include PipelineComponentsHelper
8
9   def show
10     @objects = PipelineInstance.where(pipeline_template_uuid: @object.uuid)
11     super
12   end
13
14   def show_pane_list
15     %w(Components Pipelines Advanced)
16   end
17 end