X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/26aecfb2bf75c68ab7e396011662bf6c55057f77..83a0ea14f1305cd0a62ee2caeb0142fe077d886c:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 1295772f1..f52ee739d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -148,7 +148,6 @@ OpenStreetMap::Application.routes.draw do get "/about/:about_locale" => "site#about" get "/about" => "site#about" get "/communities" => "site#communities" - get "/communities/:communities_locale" => "site#communities" get "/history" => "changesets#index" get "/history/feed" => "changesets#feed", :defaults => { :format => :atom } get "/history/comments/feed" => "changeset_comments#index", :as => :changesets_comments_feed, :defaults => { :format => "rss" } @@ -242,6 +241,7 @@ OpenStreetMap::Application.routes.draw do match "/user/:display_name/account" => "users#account", :via => [:get, :post], :as => "user_account" post "/user/:display_name/set_status" => "users#set_status", :as => :set_status_user + resource :dashboard, :only => [:show] resource :preferences, :only => [:show, :edit, :update] resource :profile, :only => [:edit, :update]