Show User.display instead of User.name when showing messages
This commit is contained in:
parent
c32593d682
commit
1f979c3f66
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue