various fixes
This commit is contained in:
parent
758beeb2e8
commit
c8f9387420
6 changed files with 158 additions and 29 deletions
|
@ -1,15 +1,15 @@
|
|||
ActionController::Routing::Routes.draw do |map|
|
||||
map.connect ':controller/service.wsdl', :action => 'wsdl'
|
||||
# map.connect ':controller/service.wsdl', :action => 'wsdl'
|
||||
|
||||
map.connect 'api/0.4/node/create', :controller => 'node', :action => 'create'
|
||||
map.connect 'api/0.4/node/:id', :controller => 'node', :action => 'rest', :id => nil
|
||||
|
||||
map.connect '/api/0.4/node/:id', :controller => 'node', :action => 'rest'
|
||||
map.connect '/api/0.4/node/create', :controller => 'node', :action => 'create'
|
||||
|
||||
map.connect '/api/0.4/segment/:id', :controller => 'segment', :action => 'rest'
|
||||
map.connect '/api/0.4/segment/create', :controller => 'segment', :action => 'create'
|
||||
# map.connect 'api/0.4/segment/:id', :controller => 'segment', :action => 'rest'
|
||||
# map.connect 'api/0.4/segment/create', :controller => 'segment', :action => 'create'
|
||||
|
||||
map.connect '/api/0.4/way/:id', :controller => 'way', :action => 'rest'
|
||||
map.connect '/api/0.4/way/create', :controller => 'way', :action => 'create'
|
||||
# map.connect 'api/0.4/way/:id', :controller => 'way', :action => 'rest'
|
||||
# map.connect 'api/0.4/way/create', :controller => 'way', :action => 'create'
|
||||
|
||||
map.connect ':controller/:action/:id'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue