From 2723de6f05b2c128272cfa02cd3c5f3bd94342fd Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Wed, 22 May 2013 08:41:26 +0100 Subject: [PATCH] Fix blanks. --- app/views/categories/index.html.erb | 2 +- app/views/photos/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/categories/index.html.erb b/app/views/categories/index.html.erb index 759e9ff..5fd5f4d 100644 --- a/app/views/categories/index.html.erb +++ b/app/views/categories/index.html.erb @@ -10,7 +10,7 @@ -<% @num_blank = 4 - @categories.count -%> +<% @num_blank = 4 - @categories.length -%>
diff --git a/app/views/photos/index.html.erb b/app/views/photos/index.html.erb index afabdd1..439ba39 100644 --- a/app/views/photos/index.html.erb +++ b/app/views/photos/index.html.erb @@ -22,7 +22,7 @@
<% end %> - <% @num_blank = 11 - @photos.count -%> + <% @num_blank = 11 - @photos.length -%> <% @photos.each do |photo| %>