From: Nick Black Date: Sat, 14 Apr 2007 14:43:34 +0000 (+0000) Subject: fixed an error in routes X-Git-Tag: live~8510 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/12f9bedbf5a949752a45184e760eada952bf8fc2 fixed an error in routes --- diff --git a/config/routes.rb b/config/routes.rb index 9bb8aadca..5b2a6babf 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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