diff --git a/app/models/communication/website/with_deuxfleurs.rb b/app/models/communication/website/with_deuxfleurs.rb index cbefc76a5ecafdd8ea5977f8cd1e65be57c7c570..b7b31e60f99c40520ba23bc4dd9581d1cdcd3884 100644 --- a/app/models/communication/website/with_deuxfleurs.rb +++ b/app/models/communication/website/with_deuxfleurs.rb @@ -5,7 +5,7 @@ module Communication::Website::WithDeuxfleurs included do before_save :deuxfleurs_setup, if: :deuxfleurs_hosting - after_commit :deuxfleurs_preload, if: :deuxfleurs_hosting + after_save_commit :deuxfleurs_preload, if: :deuxfleurs_hosting end protected