<h1><%= t'oauth.client_application.edit.title' %></h1>
-<% form_for :client_application, @client_application, :url => oauth_client_path(@client_application), :html => { :method => :put } do |f| %>
+<% form_for :client_application, @client_application, :url => oauth_client_path(@client_application.user.display_name, @client_application), :html => { :method => :put } do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
<br/>
<%= submit_tag t'oauth.client_application.edit.submit' %>
<p><%= t'oauth.client_application.show.support_notice' %></p>
-<p><%= link_to t('oauth.client_application.show.edit'), edit_oauth_client_url(@client_application) %></p>
+<p><%= link_to t('oauth.client_application.show.edit'), edit_oauth_client_url(@client_application.user.display_name, @client_application) %></p>
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'