]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Add history for ways and nodes, split 'last edited by' into a seperate template to...
[rails.git] / config / routes.rb
index 77a8dd8c2064fc5ca70c55ef882fdc598c82e1c9..b8de4eca9bc9298940fc3b55ac05736a623799ff 100644 (file)
@@ -56,7 +56,10 @@ ActionController::Routing::Routes.draw do |map|
   
   # Data browsing
   map.connect '/way/:id', :controller => 'browse', :action => 'way_view', :id => /\d+/
   
   # Data browsing
   map.connect '/way/:id', :controller => 'browse', :action => 'way_view', :id => /\d+/
+  map.connect '/way/:id/history', :controller => 'browse', :action => 'way_history', :id => /\d+/
   map.connect '/node/:id', :controller => 'browse', :action => 'node_view', :id => /\d+/
   map.connect '/node/:id', :controller => 'browse', :action => 'node_view', :id => /\d+/
+  map.connect '/node/:id/history', :controller => 'browse', :action => 'node_history', :id => /\d+/
+  map.connect '/relation/:id', :controller => 'browse', :action => 'relation_view', :id => /\d+/
   
   # web site
 
   
   # web site