From 97dd0680dfe15fb7f439ba45ad9930a72d6869d1 Mon Sep 17 00:00:00 2001 From: Albert Yi Date: Mon, 16 Apr 2018 16:18:01 -0700 Subject: [PATCH] remove download query from post file size link --- app/views/posts/partials/show/_information.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/partials/show/_information.html.erb b/app/views/posts/partials/show/_information.html.erb index 38ff6a584..4b0658a58 100644 --- a/app/views/posts/partials/show/_information.html.erb +++ b/app/views/posts/partials/show/_information.html.erb @@ -12,7 +12,7 @@
  • Approver: <%= link_to_user(post.approver) %>
  • <% end %>
  • - Size: <%= link_to_if post.visible?, number_to_human_size(post.file_size), post.tagged_file_url + "?download=1" %> + Size: <%= link_to_if post.visible?, number_to_human_size(post.file_size), post.tagged_file_url %> <% if post.has_dimensions? %> (<%= post.image_width %>x<%= post.image_height %>) <% end %>