Fix my quick fix (use '.present?' instead of 'not .nil?')

This commit is contained in:
Dennis Schubert 2012-01-17 21:25:21 +01:00
parent 57697dea28
commit e0a63e624f

View file

@ -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