Fix my quick fix (use '.present?' instead of 'not .nil?')
This commit is contained in:
parent
57697dea28
commit
e0a63e624f
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@
|
|||
.last_author
|
||||
.timestamp
|
||||
= t('ago', :time => time_ago_in_words(conversation.updated_at))
|
||||
- if not authors[conversation.id].nil?
|
||||
- if authors[conversation.id].present?
|
||||
= authors[conversation.id].name
|
||||
|
||||
- if conversation.participants.size > 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue