X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4ec70f79944e3b946477c25d541ff35de4ddb0d1..d82cc08734552f75e7c1b5bd05b498dbb97072a4:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index d750d5035..b46f92877 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -266,7 +266,7 @@ OpenStreetMap::Application.routes.draw do match "/message/new/:display_name" => "messages#new", :via => [:get, :post], :as => "new_message" get "/message/read/:message_id" => "messages#show", :as => "message" post "/message/mark/:message_id" => "messages#mark", :as => "mark_message" - get "/message/reply/:message_id" => "messages#reply", :as => "reply_message" + match "/message/reply/:message_id" => "messages#reply", :via => [:get, :post], :as => "reply_message" post "/message/delete/:message_id" => "messages#destroy", :as => "destroy_message" # oauth admin pages (i.e: for setting up new clients, etc...)