From 2ba5df650d128ca81a2c5d6c32a58b6a2d913c5d Mon Sep 17 00:00:00 2001 From: Coleman Date: Wed, 13 Aug 2008 14:06:10 -0500 Subject: [PATCH] do not open in a new window since there is a navigator for the album now --- app/views/albums/_photos.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/albums/_photos.html.erb b/app/views/albums/_photos.html.erb index 472f8a1..f14efde 100644 --- a/app/views/albums/_photos.html.erb +++ b/app/views/albums/_photos.html.erb @@ -3,7 +3,7 @@ <% else -%> <% photos.each_with_index do |photo, idx| -%> -
+
<% if (idx + 1) % 3 == 0 or photos.last == photo -%>
<% end -%> <% end -%>