1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Fix blanks.

This commit is contained in:
Dan Barber 2013-05-22 08:41:26 +01:00
parent 9666229d59
commit 2723de6f05
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
</div> </div>
</div> </div>
<% @num_blank = 4 - @categories.count -%> <% @num_blank = 4 - @categories.length -%>
<div class="sg-24 sgParent"> <div class="sg-24 sgParent">

View File

@ -22,7 +22,7 @@
</div> </div>
<% end %> <% end %>
<% @num_blank = 11 - @photos.count -%> <% @num_blank = 11 - @photos.length -%>
<% @photos.each do |photo| %> <% @photos.each do |photo| %>