never pass nil to image_tag

In production that results in a not precompiled error
This commit is contained in:
Jonne Haß 2013-06-14 14:47:54 +02:00
parent 6948462f66
commit c6d2c714e9

View file

@ -1,7 +1,7 @@
.conversation_participants_popover_content{ :"data-content-conversation-id" => conversation.id }
.conversation_participants_popover
- conversation.participants.limit(20).each do |participant|
= image_tag(participant.profile.image_url_small,
= image_tag(participant.profile.image_url(:small),
:class => 'avatar',
:title => participant.name,
:data => {:toggle => 'tooltip'})