X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/52611a5bfa69165179bd871b925b5f8b14942e2e..3324fd8dd395ab8a54fa04045ee6ad9799337131:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index a4a8faf43..bc473a4b0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -90,6 +90,7 @@ OpenStreetMap::Application.routes.draw do member do post 'comment' post 'close' + post 'reopen' end end @@ -131,8 +132,10 @@ OpenStreetMap::Application.routes.draw do match '/logout' => 'user#logout', :via => [:get, :post] match '/offline' => 'site#offline', :via => :get match '/key' => 'site#key', :via => :get + match '/id' => 'site#id', :via => :get match '/user/new' => 'user#new', :via => :get - match '/user/terms' => 'user#terms', :via => [:get, :post] + match '/user/new' => 'user#create', :via => :post + match '/user/terms' => 'user#terms', :via => :get match '/user/save' => 'user#save', :via => :post match '/user/:display_name/confirm/resend' => 'user#confirm_resend', :via => :get match '/user/:display_name/confirm' => 'user#confirm', :via => [:get, :post]