From 4099dd30d9fda4977ad2da8e4e72ae64e636416e Mon Sep 17 00:00:00 2001 From: Toks Date: Thu, 4 Apr 2013 18:56:03 -0400 Subject: [PATCH] adds user level classes to upload index --- app/views/uploads/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/uploads/index.html.erb b/app/views/uploads/index.html.erb index 327a07bd7..5ea9e25fa 100644 --- a/app/views/uploads/index.html.erb +++ b/app/views/uploads/index.html.erb @@ -14,7 +14,7 @@ <% @uploads.each do |upload| %> <%= link_to upload.id, upload_path(upload) %> - <%= link_to upload.uploader.name, user_path(upload.uploader) %> + <%= link_to upload.uploader.name, user_path(upload.uploader), { :class => upload.uploader.level_class } %> <%= upload.presenter.status(self) %> <%= compact_time upload.created_at %> <%= upload.tag_string %>