From acbb79a7c2d050238ffae4625a5842a55fae11ae Mon Sep 17 00:00:00 2001 From: Sojan Date: Wed, 8 Jul 2020 13:37:47 +0530 Subject: [PATCH] Chore: Fix attribute in reply with summary mailer --- .../conversation_reply_mailer/reply_with_summary.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb b/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb index 599d21276..67de4919e 100644 --- a/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb +++ b/app/views/mailers/conversation_reply_mailer/reply_with_summary.html.erb @@ -5,7 +5,7 @@ <% @messages.each do |message| %> - <%= message.incoming? ? 'You' : message.user.name %> + <%= message.incoming? ? 'You' : message.sender.name %>