X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c8c13e7d00921bb695d1eeaa5eac0379f2a9add1..af9d4f26962f7cdf30eef6bdfe53034df55598e4:/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]