Commit 2185e4fa
Changed files (2)
app
views
creations
photos
app/views/creations/show.html.erb
@@ -64,7 +64,7 @@ $(function() {
<% if @creation.photos_count > 1 %>
<div class="row">
<div class="span12">
- <%= link_to "view #{pluralize(@creation.photos_count-1, "other photo")} »".html_safe, creation_photos_path(@creation), :class => "pull-right" %>
+ <%= link_to "view #{pluralize(@creation.photos_count, "photo")} »".html_safe, creation_photos_path(@creation), :class => "pull-right" %>
</div>
<div class="span12">
<ul class="thumbnails">
app/views/photos/index.html.erb
@@ -14,7 +14,7 @@
<!-- Carousel items -->
<div class="carousel-inner">
<% @photos.each_with_index do |photo,index| %>
- <div class="item <%= index == 0 ? "active" : "" %>"><%= image_tag photo.image.url, :class => "thumbnail" %></div>
+ <div class="item <%= index == 0 ? "active" : "" %>"><%= image_tag photo.image.large.url, :class => "thumbnail" %></div>
<% end %>
</div>
<!-- Carousel nav -->