X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b617b766abd8df1ec72255f8bd436935a8b40fa..36970bcf5071a1f382e908c563d346f836061e04:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 2fec73c4e..8160c878c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -246,8 +246,6 @@ OpenStreetMap::Application.routes.draw do # geocoder match "/search" => "geocoder#search", :via => :get, :as => :search match "/geocoder/search_latlon" => "geocoder#search_latlon", :via => :get - match "/geocoder/search_us_postcode" => "geocoder#search_us_postcode", :via => :get - match "/geocoder/search_uk_postcode" => "geocoder#search_uk_postcode", :via => :get match "/geocoder/search_ca_postcode" => "geocoder#search_ca_postcode", :via => :get match "/geocoder/search_osm_nominatim" => "geocoder#search_osm_nominatim", :via => :get match "/geocoder/search_geonames" => "geocoder#search_geonames", :via => :get @@ -292,6 +290,7 @@ OpenStreetMap::Application.routes.draw do # issues and reports resources :issues do + resources :comments, :controller => :issue_comments member do post "resolve" post "assign" @@ -300,7 +299,7 @@ OpenStreetMap::Application.routes.draw do end end - post "/comment" => "issues#comment" + resources :reports # redactions resources :redactions