added rating to post/show

This commit is contained in:
albert
2011-09-11 18:23:32 -04:00
parent 1ca7df52b7
commit a4764716a9

View File

@@ -4,6 +4,7 @@
<% if post.approver %>
<li>Approver: <%= link_to(post.approver.name, user_path(post.approver_id)) %></li>
<% end %>
<li>Rating: <%= post.pretty_rating %></li>
<li>
Size: <%= number_to_human_size(post.file_size) %>
<% if post.is_image? %>