]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Localisation updates from https://translatewiki.net.
[rails.git] / config / routes.rb
index 6e5e73855c34a23e7931042703e2b3e503ff5fb1..19dfc9a7729519c26285160ff1d3d68a36c157c7 100644 (file)
@@ -62,11 +62,11 @@ OpenStreetMap::Application.routes.draw do
     put "relation/:id" => "relations#update", :id => /\d+/
     delete "relation/:id" => "relations#delete", :id => /\d+/
     get "relations" => "relations#index"
-
-    get "map" => "map#index"
   end
 
   namespace :api, :path => "api/0.6" do
+    resource :map, :only => :show
+
     resources :tracepoints, :path => "trackpoints", :only => :index
 
     resources :users, :only => :index