app/views/fields/image/_index.html.erb in administrate-field-image-1.1.0 vs app/views/fields/image/_index.html.erb in administrate-field-image-1.2.0
- old
+ new
@@ -13,6 +13,6 @@
A wrapper around the image url pulled from the database.
[1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Image
%>
-<%= image_tag field.data %>
+<%= image_tag field.data if field.data.present? %>