From cfc58000c611e94a43726585359c7755122c98bc Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Thu, 25 Oct 2018 13:07:14 +0200 Subject: [PATCH] Improve urls.rb --- config/initializers/urls.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/initializers/urls.rb b/config/initializers/urls.rb index b8a298fe5..d8ecddb49 100644 --- a/config/initializers/urls.rb +++ b/config/initializers/urls.rb @@ -12,9 +12,9 @@ FOG_BASE_URL = "https://storage.apientreprise.fr" # External services URLs DOC_URL = "https://doc.demarches-simplifiees.fr" -ADMINISTRATEUR_TUTORIAL_URL = "https://doc.demarches-simplifiees.fr/tutoriels/tutoriel-administrateur" -INSTRUCTEUR_TUTORIAL_URL = "https://doc.demarches-simplifiees.fr/tutoriels/tutoriel-accompagnateur" -WEBINAIRE_URL = "https://doc.demarches-simplifiees.fr/pour-aller-plus-loin/webinaires" +ADMINISTRATEUR_TUTORIAL_URL = [DOC_URL, "tutoriels", "tutoriel-administrateur"].join("/") +INSTRUCTEUR_TUTORIAL_URL = [DOC_URL, "tutoriels", "tutoriel-accompagnateur"].join("/") +WEBINAIRE_URL = [DOC_URL, "pour-aller-plus-loin", "webinaires"].join("/") LISTE_DES_DEMARCHES_URL = [DOC_URL, "listes-des-demarches"].join("/") CGU_URL = [DOC_URL, "cgu"].join("/") MENTIONS_LEGALES_URL = [CGU_URL, "4-mentions-legales"].join("#")