map.connect "api/#{API_VERSION}/search", :controller => 'search', :action => 'search_all'
map.connect "api/#{API_VERSION}/way/search", :controller => 'search', :action => 'search_ways'
map.connect "api/#{API_VERSION}/segment/search", :controller => 'search', :action => 'search_segments'
map.connect "api/#{API_VERSION}/search", :controller => 'search', :action => 'search_all'
map.connect "api/#{API_VERSION}/way/search", :controller => 'search', :action => 'search_ways'
map.connect "api/#{API_VERSION}/segment/search", :controller => 'search', :action => 'search_segments'