X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b0288b83bb437bbfc0deb325cca142066dc9848b..45487e1ff8e7d334792440a2b5b3b1067269bfaf:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index ade101821..e45d56701 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -240,7 +240,11 @@ OpenStreetMap::Application.routes.draw do get "/user/:display_name/account", :to => redirect(:path => "/account/edit") post "/user/:display_name/set_status" => "users#set_status", :as => :set_status_user - resource :account, :only => [:edit, :update] + resource :account, :only => [:edit, :update, :destroy] + + namespace :account do + resource :deletion, :only => [:show] + end resource :dashboard, :only => [:show] resource :preferences, :only => [:show, :edit, :update] resource :profile, :only => [:edit, :update]