From cc27f492152adfb27089714acf345e8471b07197 Mon Sep 17 00:00:00 2001 From: Yasith Fernando Date: Thu, 19 Jul 2012 10:00:42 +0800 Subject: [PATCH] When using the form_for helper in the example, we need to use users_path and not user_path (which will point to the show action instead of the create action). --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ad5c571e..a82e002a6 100644 --- a/README.md +++ b/README.md @@ -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 %>