X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/699b6803a6c1e5cb168b444c4fdeeacde3f3b4bb..b8a1a904c6273252c56998178b69f5f65d744d69:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 479d35346..d2b2830fd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -284,7 +284,8 @@ OpenStreetMap::Application.routes.draw do end resource :dashboard, :only => [:show] - resource :preferences, :only => [:show, :edit, :update] + resource :preferences, :only => [:show, :update] + get "/preferences/edit", :to => redirect(:path => "/preferences") resource :profile, :only => [:edit, :update] # friendships