1
0
Fork 0
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:
Carlos Antonio da Silva 2019-08-01 10:37:18 -03:00 committed by GitHub
commit 11cb8c48ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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