summaryrefslogtreecommitdiff
path: root/app/views/messages/index.html.erb
diff options
context:
space:
mode:
authorMrYummy <elemental428@gmail.com>2017-06-16 22:27:03 +0200
committerMrYummy <elemental428@gmail.com>2017-06-16 22:27:03 +0200
commit6a0eedc58541e9cf73f25ceef535ff7defde210c (patch)
treeafd9d223baa478c2a22b7bf66c95e7c39be1c9f8 /app/views/messages/index.html.erb
parent4e8d94a7b63dc9e4c0002404e8a385e9bf7fa1a2 (diff)
Fixed compatability issues in methods for thread-like messages
Diffstat (limited to 'app/views/messages/index.html.erb')
-rw-r--r--app/views/messages/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/messages/index.html.erb b/app/views/messages/index.html.erb
index 54a9348..2cc3df8 100644
--- a/app/views/messages/index.html.erb
+++ b/app/views/messages/index.html.erb
@@ -26,7 +26,7 @@
<%= render partial: "users/username", locals: { user: user } %>
<span style="font-size:16px">
&nbsp;
- <span class="<%= "bold" if message.user_unread && message.user_unread != current_user %>"><%= link_to message.subject, message %></span>
+ <span class="<%= "bold" if message.user_unread_id && message.user_unread != current_user %>"><%= link_to message.subject, message %></span>
&nbsp; | &nbsp;
</span>
<%= ago message.created_at %>