feat(champ): ask for departement before asking for commune
This commit is contained in:
parent
dc56572b1d
commit
ba0211ba52
7 changed files with 132 additions and 49 deletions
|
@ -467,6 +467,7 @@ Rails.application.routes.draw do
|
|||
get 'regions' => 'api_geo_test#regions'
|
||||
get 'communes' => 'api_geo_test#communes'
|
||||
get 'departements' => 'api_geo_test#departements'
|
||||
get 'departements/:code/communes' => 'api_geo_test#communes'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue