X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/90bb5de474c45e0b786f387ecab2277b593e335d..c7d692a3f09d8116cc52591f8852c4e0d6e4ab3c:/apps/workbench/app/controllers/container_requests_controller.rb?ds=sidebyside diff --git a/apps/workbench/app/controllers/container_requests_controller.rb b/apps/workbench/app/controllers/container_requests_controller.rb index 454be448d9..d5627076f5 100644 --- a/apps/workbench/app/controllers/container_requests_controller.rb +++ b/apps/workbench/app/controllers/container_requests_controller.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: AGPL-3.0 class ContainerRequestsController < ApplicationController - skip_around_filter :require_thread_api_token, if: proc { |ctrl| + skip_around_action :require_thread_api_token, if: proc { |ctrl| Rails.configuration.anonymous_user_token and 'show' == ctrl.action_name }