fix bug in conversations view causing server error

This commit is contained in:
Steffen van Bergerem 2014-01-04 01:52:18 +01:00
parent 78d712b926
commit 2e50a16567

View file

@ -7,7 +7,8 @@
.media .media
.img .img
- other_participants = ordered_participants[conversation.id] - [current_user.person] - 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 .bg
.badge.badge-dafault.message_count .badge.badge-dafault.message_count