X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a32033209545a69d60cbd551e6bd975cda64341..bda35008c89e15991ea88c73ad0036c9e4e53465:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 845c1277c..5ac2d744a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -173,8 +173,8 @@ ActionController::Routing::Routes.draw do |map| # geocoder map.connect '/geocoder/search', :controller => 'geocoder', :action => 'search' map.connect '/geocoder/search_latlon', :controller => 'geocoder', :action => 'search_latlon' - map.connect '/geocoder/search_us_postcode', :controller => 'geocoder', :action => 'search_uk_postcode' - map.connect '/geocoder/search_uk_postcode', :controller => 'geocoder', :action => 'search_us_postcode' + map.connect '/geocoder/search_us_postcode', :controller => 'geocoder', :action => 'search_us_postcode' + map.connect '/geocoder/search_uk_postcode', :controller => 'geocoder', :action => 'search_uk_postcode' map.connect '/geocoder/search_ca_postcode', :controller => 'geocoder', :action => 'search_ca_postcode' map.connect '/geocoder/search_osm_namefinder', :controller => 'geocoder', :action => 'search_osm_namefinder' map.connect '/geocoder/search_geonames', :controller => 'geocoder', :action => 'search_geonames' @@ -194,6 +194,7 @@ ActionController::Routing::Routes.draw do |map| map.connect '/message/read/:message_id', :controller => 'message', :action => 'read' map.connect '/message/mark/:message_id', :controller => 'message', :action => 'mark' map.connect '/message/reply/:message_id', :controller => 'message', :action => 'reply' + map.connect '/message/delete/:message_id', :controller => 'message', :action => 'delete' # fall through map.connect ':controller/:id/:action'