Skip to content

Commit

Permalink
Trying to fix this crashing issue at heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
safarista committed Dec 30, 2012
1 parent bcee039 commit e0b9aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/home/index.html.erb
Expand Up @@ -11,7 +11,7 @@
<% @album.photos.each do |photo| %>
<% 5.times do %>
<div class="item">
<%= image_tag photo.name? ? photo.name_url : 'http://placehold.it/800x400', title: photo.caption, width: "100%" %>
<%= image_tag photo.name? ? photo.name.url : 'http://placehold.it/800x400', width: "100%" %>
<div class="carousel-caption">
<%= markdown photo.caption %>
</div>
Expand Down

0 comments on commit e0b9aa4

Please sign in to comment.