X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d320673cc7bc8d5e79cea3c5ea5f9005129a63e6..7acbc0c7c6ccee2e2f5700bf6d8748fe471d1779:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 81bcb52a6..dce4042de 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -32,6 +32,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}/changes", :controller => 'api', :action => 'changes' map.connect "api/#{API_VERSION}/search", :controller => 'search', :action => 'search_all' map.connect "api/#{API_VERSION}/ways/search", :controller => 'search', :action => 'search_ways' @@ -116,6 +118,7 @@ ActionController::Routing::Routes.draw do |map| # messages map.connect '/user/:display_name/inbox', :controller => 'message', :action => 'inbox' + map.connect '/user/:display_name/outbox', :controller => 'message', :action => 'outbox' map.connect '/message/new/:user_id', :controller => 'message', :action => 'new' map.connect '/message/read/:message_id', :controller => 'message', :action => 'read' map.connect '/message/mark/:message_id', :controller => 'message', :action => 'mark'