From 7ffdbedc8d38c2885728f993990fbdbf3faa59dc Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 19 Feb 2013 14:11:50 -0500 Subject: [PATCH] fixes #395 --- 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 eab65adb1..11c09685f 100644 --- a/app/views/posts/partials/show/_information.html.erb +++ b/app/views/posts/partials/show/_information.html.erb @@ -5,7 +5,7 @@
  • Approver: <%= link_to(post.approver.name, user_path(post.approver_id)) %>
  • <% end %>
  • - Size: <%= number_to_human_size(post.file_size) %> + Size: <%= link_to number_to_human_size(post.file_size), post.file_url %> <% if post.is_image? %> (<%= post.image_width %>x<%= post.image_height %>) <% end %>