From 6f5596f1e20cd3316f63dcd82246f857278282c1 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 7 Sep 2023 11:59:24 +0200
Subject: [PATCH] remove

---
 .../admin/communication/websites/agenda/events_controller.rb    | 2 --
 1 file changed, 2 deletions(-)

diff --git a/app/controllers/admin/communication/websites/agenda/events_controller.rb b/app/controllers/admin/communication/websites/agenda/events_controller.rb
index f17c1a8e5..5039b3fa4 100644
--- a/app/controllers/admin/communication/websites/agenda/events_controller.rb
+++ b/app/controllers/admin/communication/websites/agenda/events_controller.rb
@@ -24,7 +24,6 @@ class Admin::Communication::Websites::Agenda::EventsController < Admin::Communic
   end
 
   def new
-    @event.website = @website
     breadcrumb
   end
 
@@ -39,7 +38,6 @@ class Admin::Communication::Websites::Agenda::EventsController < Admin::Communic
     if @event.save_and_sync
       redirect_to admin_communication_website_agenda_event_path(@event), notice: t('admin.successfully_created_html', model: @event.to_s)
     else
-      byebug
       breadcrumb
       render :new, status: :unprocessable_entity
     end
-- 
GitLab