Sha256: ec1f58aba1cd195db77d8fe1030f041dee9805fbd301f57edf98434e03137fd5

Contents?: true

Size: 388 Bytes

Versions: 61

Compression:

Stored size: 388 Bytes

Contents

<% object ||= current_attributes_object %>
<% strategy ||= current_attributes_strategy || :none %>
<% url ||= nil %>
<% options ||= {} %>
<% options[:height] ||= 200 %>

<% 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 %>

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
bullet_train-themes-1.4.5 app/views/themes/base/attributes/_image.html.erb