This commit is contained in:
Albert Yi
2018-04-11 11:14:58 -07:00
parent c46996f937
commit a25629bff9
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
<li>Approver: <%= link_to_user(post.approver) %></li>
<% end %>
<li>
Size: <%= link_to_if post.visible?, number_to_human_size(post.file_size), post.tagged_file_url %>
Size: <%= link_to_if post.visible?, number_to_human_size(post.file_size), post.tagged_file_url + "?download=1" %>
<% if post.has_dimensions? %>
(<span itemprop="width"><%= post.image_width %></span>x<span itemprop="height"><%= post.image_height %></span>)
<% end %>