projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 4036-combine-collections-in-project-issue
[arvados.git]
/
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 3e931004be78d52eb9f2ae87222925303c24905e..2b2e9a4e33925da7899007910b213ce130811303 100644
(file)
--- 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
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
end
end