X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/05e212027339733cf39aa9b7536c3f5f69ba0962..e470d8a6593d1a5496e854e76ad7940be034cadf:/config/routes.rb?ds=sidebyside diff --git a/config/routes.rb b/config/routes.rb index 0ce2f051d..0bc0d8cd3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -196,7 +196,7 @@ ActionController::Routing::Routes.draw do |map| map.connect '/message/delete/:message_id', :controller => 'message', :action => 'delete' # oauth admin pages (i.e: for setting up new clients, etc...) - map.resources :oauth_clients + map.resources :oauth_clients, :path_prefix => '/user/:display_name' map.connect '/oauth/revoke', :controller => 'oauth', :action => 'revoke' map.authorize '/oauth/authorize', :controller => 'oauth', :action => 'oauthorize' map.request_token '/oauth/request_token', :controller => 'oauth', :action => 'request_token'