X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bf2e2c714066fe9064708552f2e31e64fa0982d3..9c5c71f2d7413c280c046f45d9b0565981c7bbab:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index d6e800355..407e102d6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -68,14 +68,17 @@ ActionController::Routing::Routes.draw do |map| map.connect '/user/:display_name/diary/newpost', :controller => 'diary_entry', :action => 'new' map.connect '/user/:display_name/edit', :controller => 'user', :action => 'edit' map.connect '/user/:display_name/account', :controller => 'user', :action => 'account' + map.connect '/user/:display_name/set_home', :controller => 'user', :action => 'set_home' + map.connect '/diary', :controller => 'diary_entry', :action => 'list' # test pages 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' - map.connect 'geocoder/results/', :controller => 'geocoder', :action => 'results' + map.connect '/geocoder/search/', :controller => 'geocoder', :action => 'search' + map.connect '/geocoder/results/', :controller => 'geocoder', :action => 'results' + map.connect '/postcode/:postcode/', :controller => 'geocoder', :action => 'search' # fall through map.connect ':controller/:id/:action'