Commit 8f3e3617

mo khan <mo@mokhan.ca>
2014-08-25 03:11:11
only show thumbs if there is more than one image.
1 parent 56112c3
Changed files (1)
app
views
creations
app/views/creations/show.html.erb
@@ -5,7 +5,7 @@
   <%= render partial: 'show' %>
 </div>
 
-<% if @creation.photos.any? %>
+<% if @creation.photos_count > 1 %>
   <div class="row-fluid">
     <div class="span12">
       <ul class="thumbnails">