fix for img PDF
This commit is contained in:
parent
50362ddcb8
commit
6e33ed8f0d
|
|
@ -1,6 +1,8 @@
|
|||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<%= image_tag expert.avatar, height: 150 %>
|
||||
<% unless expert.avatar.blank? %>
|
||||
<%= image_tag rails_blob_url(expert.avatar, disposition: "attachment"), height: 150 %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<td>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<%= image_tag partner.logo, height: 40 %>
|
||||
<%= image_tag rails_blob_url(partner.logo, disposition: "attachment"), height: 40 %>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
|
|
|||
Loading…
Reference in New Issue