]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
fixed an error in routes
[rails.git] / config / routes.rb
index c73b8c4542fbfe0f49b9abdf2bee4682466edce0..5b2a6babf2d3dcdb8f5ab36aeff4b39bb7788ac9 100644 (file)
@@ -72,7 +72,10 @@ ActionController::Routing::Routes.draw do |map|
   map.connect '/test/populate/:table/:from/:count', :controller => 'test', :action => 'populate'
   map.connect '/test/populate/:table/:count', :controller => 'test', :action => 'populate', :from => 1
 
+  # geocoder
+  map.connect 'geocoder/search/', :controller => 'geocoder', :action => 'search'
+  
   # fall through
-  map.connect ':controller/:id/:action'
+   map.connect ':controller/:id/:action'
   map.connect ':controller/:action'
 end