From 0b35bfffa53e0ea37160984c8e8a5e2d68a193ba Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Tue, 22 May 2018 17:35:11 +0200 Subject: [PATCH] Move constants to urls.rb --- config/initializers/constants.rb | 6 ------ config/initializers/urls.rb | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 config/initializers/constants.rb diff --git a/config/initializers/constants.rb b/config/initializers/constants.rb deleted file mode 100644 index a1408744f..000000000 --- a/config/initializers/constants.rb +++ /dev/null @@ -1,6 +0,0 @@ -DOC_URL = "https://doc.demarches-simplifiees.fr" -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("#") - -FAQ_URL = "https://faq.demarches-simplifiees.fr" diff --git a/config/initializers/urls.rb b/config/initializers/urls.rb index 7d9eb1124..82bdcf98f 100644 --- a/config/initializers/urls.rb +++ b/config/initializers/urls.rb @@ -1,3 +1,10 @@ API_ENTREPRISE_URL = 'https://entreprise.api.gouv.fr/v2' PIPEDRIVE_API_URL = 'https://api.pipedrive.com/v1' + +DOC_URL = "https://doc.demarches-simplifiees.fr" +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("#") + +FAQ_URL = "https://faq.demarches-simplifiees.fr"