From 7ac538a123cc9937f6b29b067167cf2950b3a058 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Wed, 27 Dec 2023 19:40:49 +0100
Subject: [PATCH] fix

---
 .../websites/agenda/events/_dates_static.html.erb      | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/app/views/admin/communication/websites/agenda/events/_dates_static.html.erb b/app/views/admin/communication/websites/agenda/events/_dates_static.html.erb
index 430c71b23..04fa585b1 100644
--- a/app/views/admin/communication/websites/agenda/events/_dates_static.html.erb
+++ b/app/views/admin/communication/websites/agenda/events/_dates_static.html.erb
@@ -26,8 +26,8 @@ indentation = '  ' * depth
 <%= indentation %>    hour: <%= event.to_hour.strftime "%H:%M" %>
 <% end %>
 <%= indentation %>  add_to_calendar:
-<%= indentation %>    google: "<%= @event.cal.google_url %>"
-<%= indentation %>    yahoo: "<%= @event.cal.yahoo_url %>"
-<%= indentation %>    office: "<%= @event.cal.office365_url %>"
-<%= indentation %>    outlook: "<%= @event.cal.outlook_com_url %>"
-<%= indentation %>    ical: "<%= @event.cal.ical_url %>"
+<%= indentation %>    google: "<%= event.cal.google_url %>"
+<%= indentation %>    yahoo: "<%= event.cal.yahoo_url %>"
+<%= indentation %>    office: "<%= event.cal.office365_url %>"
+<%= indentation %>    outlook: "<%= event.cal.outlook_com_url %>"
+<%= indentation %>    ical: "<%= event.cal.ical_url %>"
-- 
GitLab