From 657b9d2e93201043d0ddf1912d3cd8720b143c1c Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Mon, 12 Mar 2018 17:50:20 +0100 Subject: [PATCH] Change link to doc --- app/controllers/root_controller.rb | 2 +- app/views/layouts/_new_footer.html.haml | 4 ++-- app/views/root/landing.html.haml | 2 +- config/initializers/urls.rb | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controllers/root_controller.rb b/app/controllers/root_controller.rb index 3e6031214..84f085b21 100644 --- a/app/controllers/root_controller.rb +++ b/app/controllers/root_controller.rb @@ -13,7 +13,7 @@ class RootController < ApplicationController end if Date.today < Date.new(2018, 03, 31) - flash.now.notice = ["Téléprocédures Simplifiées change de nom et devient demarches-simplifiees.fr, en savoir plus."] + flash.now.notice = ["Téléprocédures Simplifiées change de nom et devient demarches-simplifiees.fr, en savoir plus."] end render 'landing' diff --git a/app/views/layouts/_new_footer.html.haml b/app/views/layouts/_new_footer.html.haml index 874c6d66e..0698b05db 100644 --- a/app/views/layouts/_new_footer.html.haml +++ b/app/views/layouts/_new_footer.html.haml @@ -24,7 +24,7 @@ %li.footer-link = link_to "CGU", CGU_URL, :class => "footer-link", :target => "_blank" %li.footer-link - = link_to "Mentions légales", "https://tps.gitbooks.io/tps-documentation/content/conditions-generales-dutilisation.html#4-mentions-l%C3%A9gales", :class => "footer-link", :target => "_blank" + = link_to "Mentions légales", "https://demarches-simplifiees.gitbooks.io/demarches-simplifiees/content/conditions-generales-dutilisation.html#4-mentions-l%C3%A9gales", :class => "footer-link", :target => "_blank" %li.footer-column %ul.footer-links @@ -33,7 +33,7 @@ "mailto:#{t('dynamics.contact_email')}", :class => "footer-link" %li.footer-link - = link_to "Documentation", "https://tps.gitbooks.io/tps-documentation/content/", :class => "footer-link", :target => "_blank" + = link_to "Documentation", "https://demarches-simplifiees.gitbooks.io/demarches-simplifiees/content/", :class => "footer-link", :target => "_blank" %li.footer-link = link_to "Documentation de l'API", "/docs", :class => "footer-link", :target => "_blank" %li.footer-link diff --git a/app/views/root/landing.html.haml b/app/views/root/landing.html.haml index 50e02717a..67e7c867e 100644 --- a/app/views/root/landing.html.haml +++ b/app/views/root/landing.html.haml @@ -53,7 +53,7 @@ onclick: "javascript: ga('send', 'pageview', '/demander-une-demo')" = link_to "Voir la documentation", - "https://tps.gitbooks.io/tps-documentation/content/", + "https://demarches-simplifiees.gitbooks.io/demarches-simplifiees/content/", target: "_blank", class: "role-panel-button-secondary" diff --git a/config/initializers/urls.rb b/config/initializers/urls.rb index cf385571e..f74cf787d 100644 --- a/config/initializers/urls.rb +++ b/config/initializers/urls.rb @@ -4,4 +4,4 @@ else SIADEURL = 'https://staging.entreprise.api.gouv.fr' end -CGU_URL = "https://tps.gitbooks.io/tps-documentation/content/conditions-generales-dutilisation.html" +CGU_URL = "https://demarches-simplifiees.gitbooks.io/demarches-simplifiees/content/conditions-generales-dutilisation.html"