diff --git a/app/views/root/_footer.html.haml b/app/views/root/_footer.html.haml index ef2b14c33..174db199b 100644 --- a/app/views/root/_footer.html.haml +++ b/app/views/root/_footer.html.haml @@ -34,7 +34,7 @@ %li.footer-link = link_to "Documentation", DOC_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer" %li.footer-link - = link_to "Documentation de l'API", "/docs", :class => "footer-link", :target => "_blank", rel: "noopener noreferrer" + = link_to "Documentation de l'API", API_DOC_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer" %li.footer-link = link_to "FAQ", FAQ_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer" %li.footer-link diff --git a/config/initializers/urls.rb b/config/initializers/urls.rb index 156397c6b..e2b5e1e80 100644 --- a/config/initializers/urls.rb +++ b/config/initializers/urls.rb @@ -13,4 +13,5 @@ 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("#") +API_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "api"].join("/") FAQ_URL = "https://faq.demarches-simplifiees.fr"