Move the changes api to its own controller
[rails.git] / config / routes.rb
index a01f1f14cfc85033ccc12f3b8da5ad6790800a30..1f0f73c7e54ec107cc37b3e00f2b8de7d1fd1d62 100644 (file)
@@ -59,7 +59,7 @@ OpenStreetMap::Application.routes.draw do
 
     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"