projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3de346
)
fixed an error in routes
author
Nick Black
<nickb@svn.openstreetmap.org>
Sat, 14 Apr 2007 14:43:34 +0000
(14:43 +0000)
committer
Nick Black
<nickb@svn.openstreetmap.org>
Sat, 14 Apr 2007 14:43:34 +0000
(14:43 +0000)
config/routes.rb
patch
|
blob
|
history
diff --git
a/config/routes.rb
b/config/routes.rb
index 9bb8aadcaeab4d44638147ea7a4b0b3deb87cd96..5b2a6babf2d3dcdb8f5ab36aeff4b39bb7788ac9 100644
(file)
--- 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