never pass nil to image_tag
In production that results in a not precompiled error
This commit is contained in:
parent
6948462f66
commit
c6d2c714e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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'})
|
||||
|
|
|
|||
Loading…
Reference in a new issue