X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/78f608b114c05f1147936a57b930831e28000c1a..849e874dce46f798b4df68579d5a892ce11d52e8:/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]