Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curoverse.com>
def download_link
token = @search_sharing.first.api_token
if Rails.configuration.keep_web_url || Rails.configuration.keep_web_download_url
def download_link
token = @search_sharing.first.api_token
if Rails.configuration.keep_web_url || Rails.configuration.keep_web_download_url
- keep_web_url(@object.uuid, nil, {query_token: token})
+ keep_web_url(@object.uuid, nil, {path_token: token})
else
collections_url + "/download/#{@object.uuid}/#{token}/"
end
else
collections_url + "/download/#{@object.uuid}/#{token}/"
end