adbanner-test/app/views/admin/ad_images/index.html.erb

5 lines
111 B
Plaintext

<% @ad_images.each do |a|%>
<%= a.title %>
<%= a.banner.title%>
<%=image_tag(a.file.url(:thumb))%>
<% end %>