X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/44ec0e02fc259d3a41a8e48da02ebd54f48e241b..e6b0afc6c84928ac7cf2c746080812a07f23aca9:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index d213030c6..6d6acc7db 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -279,11 +279,10 @@ 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, :destroy] - - namespace :account do - resource :deletion, :only => [:show] + resource :account, :only => [:edit, :update, :destroy] do + resource :deletion, :module => :accounts, :only => :show end + resource :dashboard, :only => [:show] resource :preferences, :only => [:show, :edit, :update] resource :profile, :only => [:edit, :update]