diff --git a/config/initializers/02_urls.rb b/config/initializers/02_urls.rb index 0bcec10d1..f10a271e1 100644 --- a/config/initializers/02_urls.rb +++ b/config/initializers/02_urls.rb @@ -32,7 +32,7 @@ LISTE_DES_DEMARCHES_URL = [DOC_URL, "listes-des-demarches"].join("/") CGU_URL = ENV.fetch("CGU_URL", [DOC_URL, "cgu"].join("/")) MENTIONS_LEGALES_URL = ENV.fetch("MENTIONS_LEGALES_URL", "/mentions-legales") ACCESSIBILITE_URL = ENV.fetch("ACCESSIBILITE_URL", "/declaration-accessibilite") -ROUTAGE_URL = ENV.fetch("ROUTAGE_URL", "/pour-aller-plus-loin/routage") +ROUTAGE_URL = ENV.fetch("ROUTAGE_URL", [DOC_URL, "/pour-aller-plus-loin/routage"].join("/")) API_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "graphql"].join("/") WEBHOOK_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "webhook"].join("/") ARCHIVAGE_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "archivage-longue-duree-des-demarches"].join("/")