X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fafed5f82159141b724dd517facb561d305bb9b1..b8924ed702ea012300f93ff2d294b28ba05f0a28:/config/routes.rb?ds=sidebyside diff --git a/config/routes.rb b/config/routes.rb index 6e5e73855..19dfc9a77 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -62,11 +62,11 @@ OpenStreetMap::Application.routes.draw do put "relation/:id" => "relations#update", :id => /\d+/ delete "relation/:id" => "relations#delete", :id => /\d+/ get "relations" => "relations#index" - - get "map" => "map#index" end namespace :api, :path => "api/0.6" do + resource :map, :only => :show + resources :tracepoints, :path => "trackpoints", :only => :index resources :users, :only => :index