app/views/themes/base/attributes/_image.html.erb in bullet_train-themes-1.0.23 vs app/views/themes/base/attributes/_image.html.erb in bullet_train-themes-1.0.24
- old
+ new
@@ -1,5 +1,7 @@
<% object ||= current_attributes_object %>
<% strategy ||= current_attributes_strategy || :none %>
<% url ||= nil %>
+<% options ||= {} %>
+<% options[:height] ||= 200 %>
-<%= cloudinary_image_tag object.send(attribute), height: 200 %>
+<%= cloudinary_image_tag object.send(attribute), options %>