Quick fix: Fix 500 on /conversations when a author is missing. This is a temporary fix, see #2682

This commit is contained in:
Dennis Schubert 2012-01-17 21:10:45 +01:00
parent 6e02f61395
commit 57697dea28

View file

@ -19,7 +19,8 @@
.last_author
.timestamp
= t('ago', :time => time_ago_in_words(conversation.updated_at))
= authors[conversation.id].name
- if not authors[conversation.id].nil?
= authors[conversation.id].name
- if conversation.participants.size > 2
%span.participant_count