form => form_for

This commit is contained in:
Vijay Dev
2011-06-15 18:56:22 +05:30
committed by Xavier Noria
parent bb139ed0cf
commit 96b82aa2be

View File

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