X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/222d31e435f003ec59e84860d2fa5129449f69de..79d096499cc5f85d36bf40db37b95d3acd45d7b8:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 7ba5ad902..5c95e148d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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/way/:id', :controller => 'way', :action => 'rest' # misc site stuff