mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
form => form_for
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user