Moved oauth_clients page to a sub-page of the user - makes it more obvious that the oauth_clients page is for that specific user.

This commit is contained in:
Matt Amos 2009-08-04 13:07:11 +00:00
parent f50670e34d
commit e470d8a659
3 changed files with 3 additions and 3 deletions

View file

@ -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'