mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
form => form_for
This commit is contained in:
parent
0a67b745be
commit
77c8cd7516
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ module ActionView
|
|||
#
|
||||
# Example:
|
||||
#
|
||||
# <%= form(@post) do |f| %>
|
||||
# <%= form_for(@post) do |f| %>
|
||||
# <% f.fields_for(:comments, :include_id => false) do |cf| %>
|
||||
# ...
|
||||
# <% end %>
|
||||
|
|
Loading…
Reference in a new issue