X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/60a294c40e341af16fa2eac6de5df2b0917a74be..763848b3dc88e90097f699c231281e17e3185315:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index b00b3b649..c739fac8e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -75,8 +75,9 @@ ActionController::Routing::Routes.draw do |map| map.connect '/test/populate/:table/:count', :controller => 'test', :action => 'populate', :from => 1 # geocoder - map.connect 'geocoder/search/', :controller => 'geocoder', :action => 'search' - map.connect 'geocoder/results/', :controller => 'geocoder', :action => 'results' + map.connect '/geocoder/search/', :controller => 'geocoder', :action => 'search' + map.connect '/geocoder/results/', :controller => 'geocoder', :action => 'results' + map.connect '/postcode/:postcode/', :controller => 'geocoder', :action => 'search' # fall through map.connect ':controller/:id/:action'