app/views/themes/base/attributes/_image.html.erb in bullet_train-themes-1.4.4 vs app/views/themes/base/attributes/_image.html.erb in bullet_train-themes-1.4.5

- old
+ new

@@ -2,6 +2,10 @@ <% strategy ||= current_attributes_strategy || :none %> <% url ||= nil %> <% options ||= {} %> <% options[:height] ||= 200 %> -<%= cloudinary_image_tag object.public_send(attribute), options %> +<% if cloudinary_enabled? %> + <%= cloudinary_image_tag object.public_send(attribute), options %> +<% else %> + <%= image_tag photo_url_for_active_storage_attachment(object.public_send(attribute), options) %> +<% end %>