From b6cd797772191fc170ee5c224add0829bb3ceda6 Mon Sep 17 00:00:00 2001
From: Ralf Teusner
Date: Tue, 31 May 2016 11:17:11 +0200
Subject: [PATCH] Show displayname instead of username in request_for_comment
---
app/views/request_for_comments/show.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/request_for_comments/show.html.erb b/app/views/request_for_comments/show.html.erb
index ab53ebd0..e4dc7f06 100644
--- a/app/views/request_for_comments/show.html.erb
+++ b/app/views/request_for_comments/show.html.erb
@@ -12,7 +12,7 @@
limit 1").first['id'].to_i
submission = Submission.find(submission_id)
%>
- <%= user %> | <%= @request_for_comment.requested_at %>
+ <%= user.displayname %> | <%= @request_for_comment.requested_at %>
<% if @request_for_comment.question and not @request_for_comment.question == '' %>