Added missing comment notation for the example of form_with in form_helpers.md documentation. [ci skip]
This commit is contained in:
parent
b3b3ff5dfd
commit
c27be3bf21
|
@ -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