]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Add support for relation history.
[rails.git] / config / routes.rb
index b8de4eca9bc9298940fc3b55ac05736a623799ff..83b39e615f5efb453372c64b9187bf15f91c5ee0 100644 (file)
@@ -60,6 +60,7 @@ ActionController::Routing::Routes.draw do |map|
   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+/
+  map.connect '/relation/:id/history', :controller => 'browse', :action => 'relation_history', :id => /\d+/
   
   # web site