Commit 8dea1f0c
Changed files (1)
app
views
photos
app/views/photos/index.html.erb
@@ -13,7 +13,7 @@
<!-- Carousel items -->
<div class="carousel-inner">
<% @photos.each_with_index do |photo,index| %>
- <div class="item <%= index == 0 ? "active" : "" %>"><%= image_tag photo.image.large.url, :class => "thumbnail" %></div>
+ <div class="item <%= index == 0 ? "active" : "" %>"><%= image_tag photo.url_for(:large), :class => "thumbnail" %></div>
<% end %>
</div>
<!-- Carousel nav -->