From b93ec30a2d4e88269e028b5cee1e66d5f9c6bc49 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Tue, 22 May 2018 17:17:14 +0200 Subject: [PATCH] Make the GitBook URLs depend on DOC_URL --- config/initializers/constants.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/initializers/constants.rb b/config/initializers/constants.rb index 4a5920570..963e7a9b8 100644 --- a/config/initializers/constants.rb +++ b/config/initializers/constants.rb @@ -1,4 +1,4 @@ DOC_URL = "https://demarches-simplifiees.gitbook.io/demarches-simplifiees" -LISTE_DES_DEMARCHES_URL = "https://demarches-simplifiees.gitbook.io/demarches-simplifiees/listes-des-demarches" -CGU_URL = "https://demarches-simplifiees.gitbook.io/demarches-simplifiees/cgu" -MENTIONS_LEGALES_URL = "https://demarches-simplifiees.gitbook.io/demarches-simplifiees/cgu#4.-mentions-legales" +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("#")