From 9c6aa209c92bfe5d6da8b3a34502a9e5b67e131b Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Mon, 29 Apr 2019 15:55:59 +0000 Subject: [PATCH 1/2] sign_in: fix line breaks on form header --- app/views/users/sessions/new.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/users/sessions/new.html.haml b/app/views/users/sessions/new.html.haml index 89e7d737a..894952a92 100644 --- a/app/views/users/sessions/new.html.haml +++ b/app/views/users/sessions/new.html.haml @@ -4,7 +4,7 @@ - if resource_name == :user %p.register %span - Nouveau sur demarches-simplifiees.fr ? + Nouveau sur demarches‑simplifiees.fr ? = link_to "Créer un compte", new_registration_path(resource_name), class: "button primary auth-signup-button" %hr From 7deb228477f32e23a07b2122b99158e66862cd80 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Tue, 30 Apr 2019 10:27:35 +0200 Subject: [PATCH 2/2] Fix API Entreprise call --- app/lib/api_entreprise/api.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/lib/api_entreprise/api.rb b/app/lib/api_entreprise/api.rb index 79b2cc766..1f0f52fd4 100644 --- a/app/lib/api_entreprise/api.rb +++ b/app/lib/api_entreprise/api.rb @@ -40,9 +40,7 @@ class ApiEntreprise::API end def self.url(resource_name, siret_or_siren) - base_url = [API_ENTREPRISE_URL, resource_name, siret_or_siren].join("/") - - "#{base_url}?with_insee_v3=true" + [API_ENTREPRISE_URL, resource_name, siret_or_siren].join("/") end def self.params(siret_or_siren, procedure_id)