diff --git a/app/controllers/public/events_controller.rb b/app/controllers/public/events_controller.rb index e9eb415..ef40dbf 100644 --- a/app/controllers/public/events_controller.rb +++ b/app/controllers/public/events_controller.rb @@ -18,7 +18,7 @@ module Public def create @event = Event.new event_params @event.conference = current_conference - @event.build_proposition proposer: current_user + @event.build_proposition proposer: current_user, status: :undecided @event.participations.build participant: current_user, approved: true if @event.save