Improve the layout of the object browser views.

This commit is contained in:
Tom Hughes 2008-06-24 16:44:45 +00:00
parent 0cb97bd7d9
commit 398d5fa329
26 changed files with 358 additions and 143 deletions

View file

@ -58,8 +58,8 @@ ActionController::Routing::Routes.draw do |map|
map.connect "api/#{API_VERSION}/swf/trackpoints", :controller =>'swf', :action =>'trackpoints'
# Data browsing
map.connect '/browse/start', :controller => 'browse', :action => 'start'
map.connect '/browse', :controller => 'browse', :action => 'index'
map.connect '/browse/start', :controller => 'browse', :action => 'start'
map.connect '/browse/way/:id', :controller => 'browse', :action => 'way', :id => /\d+/
map.connect '/browse/way/:id/history', :controller => 'browse', :action => 'way_history', :id => /\d+/
map.connect '/browse/node/:id', :controller => 'browse', :action => 'node', :id => /\d+/