X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6659fb9b33503ee6519f89131a8a4b5fef515bcd..5848e7e6218ee5753ebb8723b43b1b799ce39478:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index f53f20861..a53c70af9 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 @@ -124,6 +125,7 @@ OpenStreetMap::Application.routes.draw do match '/edit' => 'site#edit', :via => :get match '/copyright/:copyright_locale' => 'site#copyright', :via => :get match '/copyright' => 'site#copyright', :via => :get + match '/welcome' => 'site#welcome', :via => :get, :as => :welcome match '/history' => 'changeset#list', :via => :get match '/history/feed' => 'changeset#feed', :via => :get, :format => :atom match '/export' => 'site#index', :export => true, :via => :get @@ -133,7 +135,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]