map.connect "api/#{API_VERSION}/map", :controller => 'api', :action => 'map'
+ map.connect "api/#{API_VERSION}/trackpoints", :controller => 'api', :action => 'trackpoints'
+
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'
# Potlatch API
map.connect "api/#{API_VERSION}/amf", :controller =>'amf', :action =>'talk'
+ map.connect "api/#{API_VERSION}/swf/trackpoints", :controller =>'swf', :action =>'trackpoints'
# web site
map.connect '/user/save', :controller => 'user', :action => 'save'
map.connect '/user/confirm', :controller => 'user', :action => 'confirm'
map.connect '/user/go_public', :controller => 'user', :action => 'go_public'
+ map.connect '/user/reset_password', :controller => 'user', :action => 'reset_password'
map.connect '/index.html', :controller => 'site', :action => 'index'
map.connect '/edit.html', :controller => 'site', :action => 'edit'
map.connect '/search.html', :controller => 'way_tag', :action => 'search'