X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d7fc7ada6eca366d2ecb671251ad992df161c069..2bbb460a29d6f76bc50aacdba466aa6262ed93a3:/apps/workbench/app/controllers/work_units_controller.rb diff --git a/apps/workbench/app/controllers/work_units_controller.rb b/apps/workbench/app/controllers/work_units_controller.rb index 0f0033ce49..1ecea99bab 100644 --- a/apps/workbench/app/controllers/work_units_controller.rb +++ b/apps/workbench/app/controllers/work_units_controller.rb @@ -4,7 +4,7 @@ class WorkUnitsController < ApplicationController skip_around_action :require_thread_api_token, if: proc { |ctrl| - Rails.configuration.anonymous_user_token and + !Rails.configuration.Users.AnonymousUserToken.empty? and 'show_child_component' == ctrl.action_name }