Commit 786a13f0 by Jon Yurek

Merge pull request #965 from thekindofme/patch-1

When using the form_for helper in the example, we need to use users_path...
parents ef4725fe cc27f492
...@@ -109,7 +109,7 @@ In your migrations: ...@@ -109,7 +109,7 @@ In your migrations:
In your edit and new views: 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 %> <%= form.file_field :avatar %>
<% end %> <% end %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment