add in-map node/way browser
This commit is contained in:
parent
c69dc37b2c
commit
336a80530c
6 changed files with 205 additions and 4 deletions
|
@ -12,9 +12,8 @@
|
|||
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
|
||||
development:
|
||||
adapter: mysql
|
||||
database: openstreetmap
|
||||
username: openstreetmap
|
||||
password: openstreetmap
|
||||
database: osm
|
||||
user: root
|
||||
host: localhost
|
||||
|
||||
# Warning: The database defined as 'test' will be erased and
|
||||
|
|
|
@ -55,6 +55,7 @@ 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/way/:id', :controller => 'browse', :action => 'way', :id => /\d+/
|
||||
map.connect '/browse/way/:id/history', :controller => 'browse', :action => 'way_history', :id => /\d+/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue