Sha256: 0705f8d4fe016d06b1cb4b4083eb101fe5a2c7a00a529130ad0f4440942eb6c2

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

<%
   image ||= @product.images.first
   if image %>
  <%= link_to image_tag(image.attachment.url(:product), :alt => image.alt.present? ? image.alt : @product.name), image.attachment.url(:large), :rel => '#large_image_overlay' %>
<% else %>
  <%= product_image(@product) %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
synergy_default_theme-1.0.2 app/views/products/_image.html.erb