OpenStreetMap::Application.routes.draw do
# API
- get "api/capabilities" => "api#capabilities"
+ namespace :api do
+ get "capabilities" => "capabilities#show"
+ end
scope "api/0.6" do
- get "capabilities" => "api#capabilities"
+ get "capabilities" => "api/capabilities#show"
get "permissions" => "api#permissions"
put "changeset/create" => "changesets#create"
get "map" => "api#map"
- get "trackpoints" => "api#trackpoints"
+ get "trackpoints" => "api/tracepoints#index"
get "changes" => "api#changes"