Skip to content
This repository
Browse code

Merge pull request #965 from thekindofme/patch-1

When using the form_for helper in the example, we need to use users_path...
  • Loading branch information...
commit 786a13f02799727aa216f3ed488c2295005a67e2 2 parents ef4725f + cc27f49
Jon Yurek authored July 20, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  README.md
2  README.md
Source Rendered
@@ -109,7 +109,7 @@ In your migrations:
109 109
 
110 110
 In your edit and new views:
111 111
 
112  
-    <%= form_for @user, :url => user_path, :html => { :multipart => true } do |form| %>
  112
+    <%= form_for @user, :url => users_path, :html => { :multipart => true } do |form| %>
113 113
       <%= form.file_field :avatar %>
114 114
     <% end %>
115 115
 

0 notes on commit 786a13f

Please sign in to comment.
Something went wrong with that request. Please try again.