X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fdffd22ccadda9c4ed2a4332de4c3b7c77bae012..f32baeceb478a714c0490d90bffb3b411655b8d9:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 3f0c7b494..002ee58ea 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,7 +1,8 @@ OpenStreetMap::Application.routes.draw do # API namespace :api do - get "capabilities" => "capabilities#show" + get "capabilities" => "capabilities#show" # Deprecated, remove when 0.6 support is removed + get "versions" => "versions#show" end scope "api/0.6" do @@ -87,7 +88,6 @@ OpenStreetMap::Application.routes.draw do # AMF (ActionScript) API post "amf/read" => "api/amf#amf_read" post "amf/write" => "api/amf#amf_write" - get "swf/trackpoints" => "api/swf#trackpoints" # Map notes API resources :notes, :except => [:new, :edit, :update], :constraints => { :id => /\d+/ }, :defaults => { :format => "xml" }, :controller => "api/notes" do