match '/geocoder/search_us_postcode' => 'geocoder#search_us_postcode', :via => :get
match '/geocoder/search_uk_postcode' => 'geocoder#search_uk_postcode', :via => :get
match '/geocoder/search_ca_postcode' => 'geocoder#search_ca_postcode', :via => :get
- match '/geocoder/search_osm_namefinder' => 'geocoder#search_osm_namefinder', :via => :get
match '/geocoder/search_osm_nominatim' => 'geocoder#search_osm_nominatim', :via => :get
match '/geocoder/search_geonames' => 'geocoder#search_geonames', :via => :get
match '/geocoder/description' => 'geocoder#description', :via => :post
- match '/geocoder/description_osm_namefinder' => 'geocoder#description_osm_namefinder', :via => :get
match '/geocoder/description_osm_nominatim' => 'geocoder#description_osm_nominatim', :via => :get
match '/geocoder/description_geonames' => 'geocoder#description_geonames', :via => :get
{ :path => "/geocoder/search_ca_postcode", :method => :get },
{ :controller => "geocoder", :action => "search_ca_postcode" }
)
- assert_routing(
- { :path => "/geocoder/search_osm_namefinder", :method => :get },
- { :controller => "geocoder", :action => "search_osm_namefinder" }
- )
assert_routing(
{ :path => "/geocoder/search_osm_nominatim", :method => :get },
{ :controller => "geocoder", :action => "search_osm_nominatim" }
{ :path => "/geocoder/description", :method => :post },
{ :controller => "geocoder", :action => "description" }
)
- assert_routing(
- { :path => "/geocoder/description_osm_namefinder", :method => :get },
- { :controller => "geocoder", :action => "description_osm_namefinder" }
- )
assert_routing(
{ :path => "/geocoder/description_osm_nominatim", :method => :get },
{ :controller => "geocoder", :action => "description_osm_nominatim" }