summaryrefslogtreecommitdiff
path: root/app/views/pms/show.html.erb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-23 23:30:40 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-23 23:30:40 -0400
commit1429cd41bb4af3429f28dc97efd6994433ebde7b (patch)
tree5db4b36315bd4d6cab60263bbf8a8180dec3fee6 /app/views/pms/show.html.erb
parent081b7cb82d5869bc43605223c301f7fed8dd50e2 (diff)
parenta6f801b7f5a2b9ca1b61ecc305a31f76be8c8238 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/pms/show.html.erb')
-rw-r--r--app/views/pms/show.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/pms/show.html.erb b/app/views/pms/show.html.erb
index 595afce..cfaf00d 100644
--- a/app/views/pms/show.html.erb
+++ b/app/views/pms/show.html.erb
@@ -1,17 +1,17 @@
<p>
<strong>Author:</strong>
- <%= @pm.author.user_name %>
+ <%= @conversation.last_sender.user_name %>
</p>
<p>
<strong>Recipient:</strong>
- <%= @pm.recipient.user_name %>
+ <%#@pm.recipient.user_name %>
</p>
<p>
<strong>Message:</strong>
- <%= @pm.message %>
+ <%# @pm.message %>
</p>
-<%= link_to 'Edit', edit_pm_path(@pm) %> |
+<%# link_to 'Edit', edit_pm_path(@pm) %> |
<%= link_to 'Back', pms_path %>