From a562ea0d27d4498768b3893fb9611ecbae5632da Mon Sep 17 00:00:00 2001
From: pabois <pierreandre.boissinot@noesya.coop>
Date: Fri, 16 Dec 2022 16:15:19 +0100
Subject: [PATCH] quickfix i18n

---
 .../communication/blocks/templates/pages/_static.html.erb   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/views/admin/communication/blocks/templates/pages/_static.html.erb b/app/views/admin/communication/blocks/templates/pages/_static.html.erb
index 2127039c8..fe94510a3 100644
--- a/app/views/admin/communication/blocks/templates/pages/_static.html.erb
+++ b/app/views/admin/communication/blocks/templates/pages/_static.html.erb
@@ -1,5 +1,5 @@
 <% if block.template.page %>
-      page: <%= block.template.page.generated_path %>
+      page: <%= block.template.page.path %>
 <% end %>
       show_main_description: <%= block.template.show_main_description %>
       show_descriptions: <%= block.template.show_description %>
@@ -7,6 +7,6 @@
       layout: <%= block.template.layout %>
       pages:
 <% block.template.selected_pages.each do |element| %>
-        - page: <%= element.generated_path %>
-          slug: <%= element.generated_path %>
+        - page: <%= element.path %>
+          slug: <%= element.path %>
 <% end %>
-- 
GitLab