Commit 8dea1f0c

mo khan <mo@mokhan.ca>
2014-06-13 16:04:38
fix path to url.
1 parent a7bfe23
Changed files (1)
app
views
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 -->