Show User.display instead of User.name when showing messages

This commit is contained in:
Patrick Gansterer 2017-02-16 08:33:27 +01:00
parent c32593d682
commit 1f979c3f66

View file

@ -7,7 +7,7 @@
%td=h @message.sender_name %td=h @message.sender_name
%tr %tr
%td= t '.to' %td= t '.to'
%td= @message.recipients.map {|e| e.name}.join(', ') %td= @message.recipients.map(&:display).join(', ')
- if @message.group - if @message.group
%tr %tr
%td= t '.group' %td= t '.group'