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

@ -1,5 +1,5 @@
<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' %>