diff --git a/app/views/sources/_info.html.erb b/app/views/sources/_info.html.erb index 5ca63ffd4..2552d19e8 100644 --- a/app/views/sources/_info.html.erb +++ b/app/views/sources/_info.html.erb @@ -4,7 +4,7 @@ <% if source.try(:available?) %>
-

This looks like a <%= source.site_name %> upload. <%= link_to "Fetch data", source_path(:format => "json", :url => params[:url]), :id => "fetch-data" %>.

+

This looks like a <%= source.site_name %> upload. <%= link_to "Fetch data", source_path(:format => "json", :url => params[:ref] || params[:url]), :id => "fetch-data" %>.