X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3b143dc2b4623e0ca23502e36f19c1c16b71d010..5b916792cceebacd900399aec1963acf051fca15:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 819baf65a..63e58a075 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -109,13 +109,13 @@ OpenStreetMap::Application.routes.draw do end # Data browsing - get "/way/:id" => "browse#way", :id => /\d+/, :as => :way + get "/way/:id" => "ways#show", :id => /\d+/, :as => :way get "/way/:id/history" => "old_ways#index", :id => /\d+/, :as => :way_history resources :old_ways, :path => "/way/:id/history", :id => /\d+/, :version => /\d+/, :param => :version, :only => :show - get "/node/:id" => "browse#node", :id => /\d+/, :as => :node + get "/node/:id" => "nodes#show", :id => /\d+/, :as => :node get "/node/:id/history" => "old_nodes#index", :id => /\d+/, :as => :node_history resources :old_nodes, :path => "/node/:id/history", :id => /\d+/, :version => /\d+/, :param => :version, :only => :show - get "/relation/:id" => "browse#relation", :id => /\d+/, :as => :relation + get "/relation/:id" => "relations#show", :id => /\d+/, :as => :relation get "/relation/:id/history" => "old_relations#index", :id => /\d+/, :as => :relation_history resources :old_relations, :path => "/relation/:id/history", :id => /\d+/, :version => /\d+/, :param => :version, :only => :show resources :changesets, :path => "changeset", :id => /\d+/, :only => :show