projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20300: Merge branch 'main' into 20300-rails7
[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 c497c70d434c4b67edb1dab42c2558bdd8242b16..aa444c153b6163d3a65d43bbeb790d2c06688844 100644
(file)
--- a/
apps/workbench/app/controllers/pipeline_templates_controller.rb
+++ b/
apps/workbench/app/controllers/pipeline_templates_controller.rb
@@
-4,7
+4,7
@@
class PipelineTemplatesController < ApplicationController
skip_around_action :require_thread_api_token, if: proc { |ctrl|
class PipelineTemplatesController < ApplicationController
skip_around_action :require_thread_api_token, if: proc { |ctrl|
-
Rails.configuration.anonymous_user_token
and
+
!Rails.configuration.Users.AnonymousUserToken.empty?
and
'show' == ctrl.action_name
}
'show' == ctrl.action_name
}