Make the search box load each set of results separately so that one
service being slow doesn't delay the response from others.
This commit is contained in:
parent
16a4a50656
commit
06b2d278ea
29 changed files with 345 additions and 236 deletions
|
@ -169,7 +169,15 @@ ActionController::Routing::Routes.draw do |map|
|
|||
|
||||
# geocoder
|
||||
map.connect '/geocoder/search', :controller => 'geocoder', :action => 'search'
|
||||
map.connect '/geocoder/search_latlon', :controller => 'geocoder', :action => 'search_latlon'
|
||||
map.connect '/geocoder/search_us_postcode', :controller => 'geocoder', :action => 'search_uk_postcode'
|
||||
map.connect '/geocoder/search_uk_postcode', :controller => 'geocoder', :action => 'search_us_postcode'
|
||||
map.connect '/geocoder/search_ca_postcode', :controller => 'geocoder', :action => 'search_ca_postcode'
|
||||
map.connect '/geocoder/search_osm_namefinder', :controller => 'geocoder', :action => 'search_osm_namefinder'
|
||||
map.connect '/geocoder/search_geonames', :controller => 'geocoder', :action => 'search_geonames'
|
||||
map.connect '/geocoder/description', :controller => 'geocoder', :action => 'description'
|
||||
map.connect '/geocoder/description_osm_namefinder', :controller => 'geocoder', :action => 'description_osm_namefinder'
|
||||
map.connect '/geocoder/description_geonames', :controller => 'geocoder', :action => 'description_geonames'
|
||||
|
||||
# export
|
||||
map.connect '/export/start', :controller => 'export', :action => 'start'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue