X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/898cc828dd1f1167f85abbf35c8e3f0ed640ac1e..a53e5d21cf05c62e459e9acaec7a975816f9c1ba:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index a4a8faf43..656bc5819 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 @@ -121,9 +122,11 @@ OpenStreetMap::Application.routes.draw do # web site root :to => 'site#index', :via => [:get, :post] - match '/edit' => 'site#edit', :via => :get + match '/edit' => 'site#edit', :via => :get, :as => :edit match '/copyright/:copyright_locale' => 'site#copyright', :via => :get match '/copyright' => 'site#copyright', :via => :get + match '/welcome' => 'site#welcome', :via => :get, :as => :welcome + match '/verifysignup' => 'site#verifysignup', :via => :get, :as => :verifysignup match '/history' => 'changeset#list', :via => :get match '/history/feed' => 'changeset#feed', :via => :get, :format => :atom match '/export' => 'site#index', :export => true, :via => :get @@ -131,8 +134,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]