summaryrefslogtreecommitdiff
path: root/app/views/pms/index.html.erb
diff options
context:
space:
mode:
authornfoy <nfoy@purdue.edu>2014-04-22 22:43:59 -0400
committernfoy <nfoy@purdue.edu>2014-04-22 22:43:59 -0400
commitd53c2b7971388026be5c42cd833f7e16781f2c18 (patch)
tree90e5946dc5dbdad4cc60d954e1c6642cc3c64d16 /app/views/pms/index.html.erb
parentfede678430be34f854bcf7e39c29d5e5ecea929b (diff)
Figured out mailboxer for sending pms and updated individual message view.
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>