Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Commit

Permalink
fixed a routing bug in the form for editing a user. not sure if it ex…
Browse files Browse the repository at this point in the history
…isted in rails 2.1
  • Loading branch information
James Cook committed Dec 16, 2008
1 parent b2ac754 commit 898e405
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -3,6 +3,7 @@
<%= link_to "All Users", admin_users_path, :class => 'button icon back' %>
<% end %>
<% form_for [:admin, @user] do |f| -%>
<%# form_for [:admin, @user] do |f| -%>
<% form_for :user, :url => { :action => "update" } , :html => { :method => :put } do |f| -%>
<%= render :partial => 'form', :locals => { :f => f, :submit_text => "Update User" } -%>
<% end -%>

0 comments on commit 898e405

Please sign in to comment.