Add node version pages
This commit is contained in:
parent
e71355c5bb
commit
85c284aaa6
11 changed files with 79 additions and 6 deletions
|
@ -428,6 +428,9 @@ en:
|
|||
introduction: "Click on the map to find nearby features."
|
||||
nearby: "Nearby features"
|
||||
enclosing: "Enclosing features"
|
||||
old_nodes:
|
||||
not_found:
|
||||
sorry: "Sorry, node #%{id} version %{version} could not be found."
|
||||
changesets:
|
||||
changeset_paging_nav:
|
||||
showing_page: "Page %{page}"
|
||||
|
|
|
@ -113,6 +113,7 @@ OpenStreetMap::Application.routes.draw do
|
|||
get "/way/:id/history" => "browse#way_history", :id => /\d+/, :as => :way_history
|
||||
get "/node/:id" => "browse#node", :id => /\d+/, :as => :node
|
||||
get "/node/:id/history" => "browse#node_history", :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/history" => "browse#relation_history", :id => /\d+/, :as => :relation_history
|
||||
get "/changeset/:id" => "browse#changeset", :as => :changeset, :id => /\d+/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue