added rating to post/show
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
<% if post.approver %>
|
<% if post.approver %>
|
||||||
<li>Approver: <%= link_to(post.approver.name, user_path(post.approver_id)) %></li>
|
<li>Approver: <%= link_to(post.approver.name, user_path(post.approver_id)) %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<li>Rating: <%= post.pretty_rating %></li>
|
||||||
<li>
|
<li>
|
||||||
Size: <%= number_to_human_size(post.file_size) %>
|
Size: <%= number_to_human_size(post.file_size) %>
|
||||||
<% if post.is_image? %>
|
<% if post.is_image? %>
|
||||||
|
|||||||
Reference in New Issue
Block a user