X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cbea796ef412840af9a3ec2fd26bf08657fc4cd3..551e4295c0c994fd28973a4b02f56befbd25aaa9:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 7689b506d..58c05da17 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 @@ -61,11 +62,6 @@ OpenStreetMap::Application.routes.draw do get "changes" => "api/changes#index" - get "search" => "api/search#search_all", :as => "api_search" - get "ways/search" => "api/search#search_ways" - get "relations/search" => "api/search#search_relations" - get "nodes/search" => "api/search#search_nodes" - get "user/:id" => "api/users#show", :id => /\d+/ get "user/details" => "api/users#details" get "user/gpx_files" => "api/users#gpx_files"