summaryrefslogtreecommitdiff
path: root/app/views/pms/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/pms/index.html.erb')
-rw-r--r--app/views/pms/index.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/pms/index.html.erb b/app/views/pms/index.html.erb
index cb7fe4b..f5dfe02 100644
--- a/app/views/pms/index.html.erb
+++ b/app/views/pms/index.html.erb
@@ -15,8 +15,8 @@
<tbody>
<% @pms.each do |pm| %>
<tr>
- <td><%= pm.author %></td>
- <td><%= pm.recipient %></td>
+ <td><%= pm.author.user_name %></td>
+ <td><%= pm.recipient.user_name %></td>
<td><%= pm.message %></td>
<td><%= link_to 'Show', pm %></td>
<td><%= link_to 'Edit', edit_pm_path(pm) %></td>