]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Move map method to its own controller
[rails.git] / config / routes.rb
index a01f1f14cfc85033ccc12f3b8da5ad6790800a30..3c0cf61f1587c6050109bf54bf8452f9d5b760e3 100644 (file)
@@ -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"