summaryrefslogtreecommitdiff
path: root/app/views/pms/show.html.erb
diff options
context:
space:
mode:
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 %>