Skip to content

Commit

Permalink
Merge pull request #3869 from seand7565/exist-rename
Browse files Browse the repository at this point in the history
Update taxon icon to use present instead of exists
  • Loading branch information
kennyadsl committed Jan 7, 2021
2 parents 14f43d8 + 6e19cd7 commit 01d99a8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2,7 +2,7 @@
<%= f.field_container attachment do %>
<%= f.label attachment %><br>
<%= f.file_field attachment %>
<% if f.object.send(attachment).exists? %>
<% if f.object.send(attachment).present? %>
<%= image_tag f.object.send(attachment, definition[:default_style]) %>
<%= link_to t('spree.actions.remove'),
admin_taxonomy_taxon_attachment_path(@taxonomy,
Expand Down

0 comments on commit 01d99a8

Please sign in to comment.