From 6746d67e3179e77eecad3c5bcd536b0a0daf74ca Mon Sep 17 00:00:00 2001 From: Toks Date: Thu, 4 Apr 2013 19:10:02 -0400 Subject: [PATCH] adds user level classes to comment index by post --- app/views/comments/partials/index/_header.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/comments/partials/index/_header.html.erb b/app/views/comments/partials/index/_header.html.erb index 47c6b8e43..98d7807b6 100644 --- a/app/views/comments/partials/index/_header.html.erb +++ b/app/views/comments/partials/index/_header.html.erb @@ -6,7 +6,7 @@ User - <%= 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 }) %> Rating