Skip to content

Commit

Permalink
Merge pull request thoughtbot#965 from thekindofme/patch-1
Browse files Browse the repository at this point in the history
When using the form_for helper in the example, we need to use users_path...
  • Loading branch information
Jon Yurek committed Jul 20, 2012
2 parents ef4725f + cc27f49 commit 786a13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -109,7 +109,7 @@ In your migrations:

In your edit and new views:

<%= form_for @user, :url => user_path, :html => { :multipart => true } do |form| %>
<%= form_for @user, :url => users_path, :html => { :multipart => true } do |form| %>
<%= form.file_field :avatar %>
<% end %>

Expand Down

0 comments on commit 786a13f

Please sign in to comment.