From cb3d971dcba33deabca4e95493f3f01fd1e886cf Mon Sep 17 00:00:00 2001 From: Eric Leroy-Terquem Date: Fri, 28 Jul 2023 10:18:39 +0200 Subject: [PATCH] fix(routing): display Autre instead of __other__ in gis list --- app/models/logic/constant.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/logic/constant.rb b/app/models/logic/constant.rb index 201e37228..e1042d580 100644 --- a/app/models/logic/constant.rb +++ b/app/models/logic/constant.rb @@ -17,6 +17,8 @@ class Logic::Constant < Logic::Term I18n.t('utils.yes') when FalseClass I18n.t('utils.no') + when Champs::DropDownListChamp::OTHER + 'Autre' else @value.to_s end