]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
more way bits
[rails.git] / config / routes.rb
index 7ba5ad9027fe68d5eda6832cb3ad9fc73542cb5e..5c95e148dea86e04807f59e3c8e4af4f5477e6d5 100644 (file)
@@ -10,7 +10,7 @@ ActionController::Routing::Routes.draw do |map|
   map.connect 'api/0.4/segment/:id', :controller => 'segment', :action => 'rest'
 
   map.connect 'api/0.4/way/create', :controller => 'way', :action => 'create'
   map.connect 'api/0.4/segment/:id', :controller => 'segment', :action => 'rest'
 
   map.connect 'api/0.4/way/create', :controller => 'way', :action => 'create'
-  
+  map.connect 'api/0.4/way/:id', :controller => 'way', :action => 'rest'
   
   # misc site stuff
 
   
   # misc site stuff