diff --git a/app/views/uploads/show.html.erb b/app/views/uploads/show.html.erb index e2b6c5045..51a81550c 100644 --- a/app/views/uploads/show.html.erb +++ b/app/views/uploads/show.html.erb @@ -13,7 +13,7 @@ <% elsif @upload.is_processing? %>
This upload is being processed. Please wait a few seconds.
<% elsif @upload.is_duplicate? %> -This upload is a duplicate: post #<%= link_to @upload.duplicate_post_id, post_path(@upload.duplicate_post_id) %>
+This upload is a duplicate: <%= link_to "post ##{@upload.duplicate_post_id}", post_path(@upload.duplicate_post_id) %>
<% else %>An error occurred: <%= @upload.status %>