Merge remote-tracking branch 'origin/master' into 2044-share-button
[arvados.git] / apps / workbench / app / views / collections / _sharing_popup.html.erb
index 719f8fb4a60c009f066a2dadc9f98082143a96d1..f7f05558371992f8ed7df72388bb8fba67bf29b9 100644 (file)
@@ -10,7 +10,7 @@
         <% if @search_sharing.any? %>
           Use this link to share this collection:<br>
           <big>
-          <% link = collection_url + "?reader_tokens[]=#{@search_sharing.first.api_token}" %>
+          <% link = collections_url + "/download/#{@object.uuid}/#{@search_sharing.first.api_token}" %>
           <%= link_to link, link %>
           </big>
         <% else %>