Add history for ways and nodes, split 'last edited by' into a seperate template to be used in multiple places, add to routes.

This commit is contained in:
Christopher Schmidt 2008-04-20 15:14:20 +00:00
parent 15d5997067
commit 4168e0963e
6 changed files with 53 additions and 4 deletions

View file

@ -56,7 +56,10 @@ ActionController::Routing::Routes.draw do |map|
# 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/history', :controller => 'browse', :action => 'node_history', :id => /\d+/
map.connect '/relation/:id', :controller => 'browse', :action => 'relation_view', :id => /\d+/
# web site