Sha256: dbbb41fcd373b23d72d85372c8e5826a64488ac6165aace77de904e42f814151

Contents?: true

Size: 317 Bytes

Versions: 1

Compression:

Stored size: 317 Bytes

Contents

<%# Here it should check file version mime and output image or link to file %>
<% if true %>
  <%= image_tag @record.send(field.name).send(thumbnail_name).url if @record.send("#{field.name}?") %>
<% else %>
  <%= link_to @record.send(field.name).send(thumbnail_name).url if @record.send("#{field.name}?") %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puffer-0.1.1 app/components/carrierwave/index.html.erb