mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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]
This commit is contained in:
commit
11cb8c48ee
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue