projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
12765: Fix untrash button on 404 page.
[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 2be51c6a1804968e9785dae7d5381a84b913e5fe..7d94e3469a10792f148a32e5c3a84e67c564dbc4 100644
(file)
--- a/
apps/workbench/app/controllers/pipeline_templates_controller.rb
+++ b/
apps/workbench/app/controllers/pipeline_templates_controller.rb
@@
-1,5
+1,15
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
class PipelineTemplatesController < ApplicationController
class PipelineTemplatesController < ApplicationController
-
+ skip_around_filter :require_thread_api_token, if: proc { |ctrl|
+ Rails.configuration.anonymous_user_token and
+ 'show' == ctrl.action_name
+ }
+
+ include PipelineComponentsHelper
+
def show
@objects = PipelineInstance.where(pipeline_template_uuid: @object.uuid)
super
def show
@objects = PipelineInstance.where(pipeline_template_uuid: @object.uuid)
super