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,6 +7,7 @@
.media .media
.img .img
- other_participants = ordered_participants[conversation.id] - [current_user.person] - other_participants = ordered_participants[conversation.id] - [current_user.person]
- if other_participants.first.present?
= person_image_tag(other_participants.first) = person_image_tag(other_participants.first)
.bg .bg