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