From a4764716a950c5c50ad3c2c925cce10a40bbc16d Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 11 Sep 2011 18:23:32 -0400 Subject: [PATCH] added rating to post/show --- app/views/posts/partials/show/_information.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/posts/partials/show/_information.html.erb b/app/views/posts/partials/show/_information.html.erb index 7028ebd17..a21af6e06 100644 --- a/app/views/posts/partials/show/_information.html.erb +++ b/app/views/posts/partials/show/_information.html.erb @@ -4,6 +4,7 @@ <% if post.approver %>
  • Approver: <%= link_to(post.approver.name, user_path(post.approver_id)) %>
  • <% end %> +
  • Rating: <%= post.pretty_rating %>
  • Size: <%= number_to_human_size(post.file_size) %> <% if post.is_image? %>