X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d74d4f8d195673250c3f2e841d28f185d74d8849..849e874dce46f798b4df68579d5a892ce11d52e8:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 6896fcc01..bc473a4b0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -134,7 +134,8 @@ OpenStreetMap::Application.routes.draw do 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]