- :user => link_to(h(comment.author.display_name), {:controller => "user", :action => "view",
- :display_name => comment.author.display_name})).html_safe %>
- <% if @user and @user.moderator? %>
+ :user => link_to(h(comment.author.display_name), user_path(comment.author))).html_safe %>
+ <% if current_user and current_user.moderator? %>