Move map method to its own controller
[rails.git] / config / routes.rb
index 1f0f73c7e54ec107cc37b3e00f2b8de7d1fd1d62..3c0cf61f1587c6050109bf54bf8452f9d5b760e3 100644 (file)
@@ -55,7 +55,7 @@ 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"