Merge pull request #4665 from svbergerem/fix-500-conversations

fix bug in conversations view causing server error
This commit is contained in:
Jonne Haß 2014-01-08 23:55:09 -08:00
commit 7608319787

View file

@ -7,7 +7,8 @@
.media
.img
- other_participants = ordered_participants[conversation.id] - [current_user.person]
= person_image_tag(other_participants.first)
- if other_participants.first.present?
= person_image_tag(other_participants.first)
.bg
.badge.badge-dafault.message_count