map.connect "api/#{API_VERSION}/way/create", :controller => 'way', :action => 'create'
map.connect "api/#{API_VERSION}/way/:id/history", :controller => 'old_way', :action => 'history', :id => nil
+ map.connect "api/#{API_VERSION}/way/:id/full", :controller => 'way', :action => 'full', :id => nil
map.connect "api/#{API_VERSION}/way/:id", :controller => 'way', :action => 'rest', :id => nil
map.connect "api/#{API_VERSION}/ways", :controller => 'way', :action => 'ways', :id => nil
map.connect '/test/populate/:table/:from/:count', :controller => 'test', :action => 'populate'
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'
+
# fall through
- # map.connect ':controller/:id/:action'
+ map.connect ':controller/:id/:action'
map.connect ':controller/:action'
end