adds user level classes to comment index by post

This commit is contained in:
Toks
2013-04-04 19:10:02 -04:00
parent 4099dd30d9
commit 6746d67e31

View File

@@ -6,7 +6,7 @@
</span>
<span class="info">
<strong>User</strong>
<%= link_to(post.uploader_name, user_path(post.uploader_id)) %>
<%= link_to(post.uploader_name, user_path(post.uploader_id), { :class => post.uploader.level_class }) %>
</span>
<span class="info">
<strong>Rating</strong>