From b5c1bbbee01f64532d0cbc236ed364f1b0589a1a Mon Sep 17 00:00:00 2001 From: Derek Reeve Date: Tue, 13 Jan 2015 10:19:59 -0800 Subject: [PATCH] Fix form_for guide binding a form to an object. The HTML generated using url: { action: :create} will not generate the form action "/articles/create", it should generate the form action "/articles" for a new object. --- guides/source/form_helpers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md index a8dcd3ee4f..4ec3a7c010 100644 --- a/guides/source/form_helpers.md +++ b/guides/source/form_helpers.md @@ -275,7 +275,7 @@ There are a few things to note here: The resulting HTML is: ```html -
+ @@ -300,7 +300,7 @@ You can create a similar binding without actually creating `` tags with th which produces the following output: ```html - +