aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2019-08-01 10:37:18 -0300
committerGitHub <noreply@github.com>2019-08-01 10:37:18 -0300
commit11cb8c48ee4ebe6ed14ea78d6c416ad4857c4ffe (patch)
treec0322652cbeb4be5481973287668d71b14f81489
parentb3b3ff5dfdfa378a06f04557f7f9861e781abb0b (diff)
parentc27be3bf21597c19b52db2ffacbd021b15f6df9f (diff)
downloadrails-11cb8c48ee4ebe6ed14ea78d6c416ad4857c4ffe.tar.gz
rails-11cb8c48ee4ebe6ed14ea78d6c416ad4857c4ffe.tar.bz2
rails-11cb8c48ee4ebe6ed14ea78d6c416ad4857c4ffe.zip
Merge pull request #36831 from akshaymohite/fix-form-helpers-documentation-comment
Added missing comment notation for the example of form_with in form_helpers.md documentation. [ci skip]
-rw-r--r--guides/source/form_helpers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md
index 6418005921..bee6755b52 100644
--- a/guides/source/form_helpers.md
+++ b/guides/source/form_helpers.md
@@ -307,7 +307,7 @@ When dealing with RESTful resources, calls to `form_with` can get significantly
## Creating a new article
# long-style:
form_with(model: @article, url: articles_path)
-short-style:
+# short-style:
form_with(model: @article)
## Editing an existing article