From 4ad7bd23bdccc2d4fa5f5d7364b42f5e6a012b5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Fri, 16 Dec 2022 17:02:17 +0100
Subject: [PATCH] fix menu path

---
 app/models/communication/website/menu.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/models/communication/website/menu.rb b/app/models/communication/website/menu.rb
index 4b5ca387c..44f048cbd 100644
--- a/app/models/communication/website/menu.rb
+++ b/app/models/communication/website/menu.rb
@@ -39,9 +39,9 @@ class Communication::Website::Menu < ApplicationRecord
   end
 
   def git_path(website)
-    # TODO I18n : Right now, we use the language of the website. Add a language to the menu (and future translations)
     path = "data/menus/"
-    path += "#{website.default_language.iso_code}/" if website.languages.any?
+    # TODO I18n : Right now, we continue to send only a master version
+    # path += "#{website.default_language.iso_code}/" if website.languages.any?
     "#{path}#{identifier}.yml"
   end
 
-- 
GitLab