From d58721587e9b726cef8dd07de7ce1bd1e040fd6f Mon Sep 17 00:00:00 2001 From: Toks Date: Thu, 18 Jul 2013 12:06:30 -0400 Subject: [PATCH] Colorize names on janitor trials --- app/views/janitor_trials/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/janitor_trials/index.html.erb b/app/views/janitor_trials/index.html.erb index d172b6693..aab9b0b3a 100644 --- a/app/views/janitor_trials/index.html.erb +++ b/app/views/janitor_trials/index.html.erb @@ -13,7 +13,7 @@ <% @janitor_trials.each do |janitor_trial| %> - <%= link_to janitor_trial.user.name, user_path(janitor_trial.user) %> + <%= link_to_user janitor_trial.user %> <%= compact_time janitor_trial.created_at %> <%= link_to "Promote", promote_janitor_trial_path(janitor_trial), :remote => true, :method => :put %>