diff --git a/app/controllers/admin/communication/websites/agenda/events_controller.rb b/app/controllers/admin/communication/websites/agenda/events_controller.rb index 0e0335ff11f4dabfe1236401ea9005e8b2ec6cbd..4ab259b7e17760de7bda58ba64db264e1e151f38 100644 --- a/app/controllers/admin/communication/websites/agenda/events_controller.rb +++ b/app/controllers/admin/communication/websites/agenda/events_controller.rb @@ -2,7 +2,7 @@ class Admin::Communication::Websites::Agenda::EventsController < Admin::Communic load_and_authorize_resource class: Communication::Website::Agenda::Event, through: :website - before_action :load_categories, only: [:new, :edit] + before_action :load_categories, only: [:new, :edit, :create, :update] def index @events = apply_scopes(@events).for_language(current_website_language).ordered_desc.page params[:page]