1
0
Fork 0

Fix error

This commit is contained in:
Alex Kotov 2018-11-30 08:13:02 +05:00
parent 0133175017
commit fd2b7de3b6
No known key found for this signature in database
GPG Key ID: 4E831250F47DE154
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@
</div>
<div class="col-md-6">
<%= image_tag url_for(@passport.image), class: 'img-fluid' %>
<% if @passport.image.attached? %>
<%= image_tag url_for(@passport.image), class: 'img-fluid' %>
<% end %>
</div>
</div>
</div>