diff --git a/app/controllers/admin/communication/websites/agenda/events_controller.rb b/app/controllers/admin/communication/websites/agenda/events_controller.rb index f17c1a8e507c2b13bc092b7280b2a61f9cf50fda..5039b3fa4248ff04e67b8e6ed18a630104eee1a2 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