commit
470a90f695
2 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue