X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c8972a0859ac1e8ba3598638c58e33d3f21ca059..124cd67ac83cac270f35a078c31e0c03fb328c5d:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index bcf340b8b..2420de1ca 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -19,6 +19,8 @@ ActionController::Routing::Routes.draw do |map| 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' @@ -34,6 +36,7 @@ ActionController::Routing::Routes.draw do |map| # 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 @@ -41,6 +44,7 @@ ActionController::Routing::Routes.draw do |map| 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'