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:
parent
15d5997067
commit
4168e0963e
6 changed files with 53 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue