Merge pull request #3830 from betagouv/dev

2019-04-30-01
This commit is contained in:
LeSim 2019-04-30 10:48:32 +02:00 committed by GitHub
commit 470a90f695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -40,9 +40,7 @@ class ApiEntreprise::API
end end
def self.url(resource_name, siret_or_siren) def self.url(resource_name, siret_or_siren)
base_url = [API_ENTREPRISE_URL, resource_name, siret_or_siren].join("/") [API_ENTREPRISE_URL, resource_name, siret_or_siren].join("/")
"#{base_url}?with_insee_v3=true"
end end
def self.params(siret_or_siren, procedure_id) def self.params(siret_or_siren, procedure_id)

View file

@ -4,7 +4,7 @@
- if resource_name == :user - if resource_name == :user
%p.register %p.register
%span %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" = link_to "Créer un compte", new_registration_path(resource_name), class: "button primary auth-signup-button"
%hr %hr