X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8383fd0928a3a431dc58c48d42bf1d19bc43ea34..f4e29905263efbb2eafdedad6a5c050ba559efd8:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index a01f1f14c..3c0cf61f1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -55,11 +55,11 @@ OpenStreetMap::Application.routes.draw do delete "relation/:id" => "relations#delete", :id => /\d+/ get "relations" => "relations#index" - get "map" => "api#map" + get "map" => "api/map#index" get "trackpoints" => "api/tracepoints#index" - get "changes" => "api#changes" + get "changes" => "api/changes#index" get "search" => "search#search_all", :as => "api_search" get "ways/search" => "search#search_ways"