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
@ -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 New Issue
Block a user