From bef64e5967d5b4ce74da5beb407fa27838ba1547 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Wed, 6 Nov 2013 11:18:34 +1100 Subject: [PATCH] Making sure the final row has a bottom border --- app/views/home/temp_landing_page.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/home/temp_landing_page.html.haml b/app/views/home/temp_landing_page.html.haml index 783541b9b3..6208cc33be 100644 --- a/app/views/home/temp_landing_page.html.haml +++ b/app/views/home/temp_landing_page.html.haml @@ -30,7 +30,7 @@ %h3 WHERE WOULD YOU LIKE TO SHOP? %p.secondary Select your hub from the list below - @groups.in_groups_of(4, false) do |row| - .row.landing-page-row{:class => row == @groups.last ? "with-bottom-border" : ""} + .row.landing-page-row{:class => (row.last == @groups.last ? "with-bottom-border" : "")} - row.each do |group| .large-3.columns .group-header