X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fd5d197916b117386fbe872790ff6493326c4ea2..85c625c40ad873d0efac33f8a63c1ee256185e36:/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 c497c70d43..aa444c153b 100644 --- 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| - Rails.configuration.anonymous_user_token and + !Rails.configuration.Users.AnonymousUserToken.empty? and 'show' == ctrl.action_name }