X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3d6d097f42128bde90b7bc184057a84e99ea3e0a..c7d692a3f09d8116cc52591f8852c4e0d6e4ab3c:/apps/workbench/app/controllers/container_requests_controller.rb diff --git a/apps/workbench/app/controllers/container_requests_controller.rb b/apps/workbench/app/controllers/container_requests_controller.rb index 783cafa117..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 } @@ -120,7 +120,7 @@ class ContainerRequestsController < ApplicationController c = Collection.find(re[1]) input_obj[param_id] = {"class" => primary_type, "location" => "keep:#{c.portable_data_hash}#{re[4]}", - "arv:collection" => input_obj[param_id]} + "http://arvados.org/cwl#collectionUUID" => re[1]} end end end