From 1c0b0100dcf2d6925e6dedd4066a14fe89fa5047 Mon Sep 17 00:00:00 2001 From: Max Rukomoynikov Date: Mon, 27 May 2024 21:14:48 +0100 Subject: [PATCH] Use render collection to for main page --- app/views/dashboard/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/dashboard/show.html.haml b/app/views/dashboard/show.html.haml index dc554b993..f4638a1ed 100644 --- a/app/views/dashboard/show.html.haml +++ b/app/views/dashboard/show.html.haml @@ -71,7 +71,7 @@ %h2.h3.mb-4= t('homepage.events.upcoming') - @upcoming_workshops.each do |date, workshops| %h3.h5= date - = render workshops + = render collection: workshops, partial: "events/event" .col-lg-4.pl-lg-5 %h3