From 3de4f4f1fff8528da9a6e3aba9effb01790fd0c0 Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Thu, 6 Jul 2023 16:25:57 +0200 Subject: [PATCH] comment --- app/models/concerns/with_translations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/with_translations.rb b/app/models/concerns/with_translations.rb index 99cfcc264..f99868e9c 100644 --- a/app/models/concerns/with_translations.rb +++ b/app/models/concerns/with_translations.rb @@ -67,7 +67,7 @@ module WithTranslations # Handle featured image if object has one translate_attachment(translation, :featured_image) if respond_to?(:featured_image) && featured_image.attached? translation.save - # Handle headings blocks if object has any + # Handle headings & blocks if object has any translate_contents!(translation) if respond_to?(:contents) translate_additional_data!(translation) -- GitLab