X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9997ada67ce36d2fbe831bce473aa61250727aff..c7d692a3f09d8116cc52591f8852c4e0d6e4ab3c:/apps/workbench/app/controllers/healthcheck_controller.rb diff --git a/apps/workbench/app/controllers/healthcheck_controller.rb b/apps/workbench/app/controllers/healthcheck_controller.rb index 8cf6b93b51..7afe4032a2 100644 --- a/apps/workbench/app/controllers/healthcheck_controller.rb +++ b/apps/workbench/app/controllers/healthcheck_controller.rb @@ -3,20 +3,20 @@ # SPDX-License-Identifier: AGPL-3.0 class HealthcheckController < ApplicationController - skip_around_filter :thread_clear - skip_around_filter :set_thread_api_token - skip_around_filter :require_thread_api_token - skip_before_filter :ensure_arvados_api_exists - skip_before_filter :accept_uuid_as_id_param - skip_before_filter :check_user_agreements - skip_before_filter :check_user_profile - skip_before_filter :load_filters_and_paging_params - skip_before_filter :find_object_by_uuid + skip_around_action :thread_clear + skip_around_action :set_thread_api_token + skip_around_action :require_thread_api_token + skip_before_action :ensure_arvados_api_exists + skip_before_action :accept_uuid_as_id_param + skip_before_action :check_user_agreements + skip_before_action :check_user_profile + skip_before_action :load_filters_and_paging_params + skip_before_action :find_object_by_uuid - before_filter :check_auth_header + before_action :check_auth_header def check_auth_header - mgmt_token = Rails.configuration.management_token + mgmt_token = Rails.configuration.ManagementToken auth_header = request.headers['Authorization'] if !mgmt_token