]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Send the new amf/read API call to the bulkapi queue - the write method
[rails.git] / config / routes.rb
index f040e1c1d791820e6b53d2cd9879eccb8664be13..b7d570980de7876f3f344848e215527a289e74b2 100644 (file)
@@ -54,7 +54,8 @@ ActionController::Routing::Routes.draw do |map|
   
   # Potlatch API
   
-  map.connect "api/#{API_VERSION}/amf", :controller =>'amf', :action =>'talk'
+  map.connect "api/#{API_VERSION}/amf/read", :controller =>'amf', :action =>'amf_read'
+  map.connect "api/#{API_VERSION}/amf/write", :controller =>'amf', :action =>'amf_write'
   map.connect "api/#{API_VERSION}/swf/trackpoints", :controller =>'swf', :action =>'trackpoints'
   
   # Data browsing