aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-06-15 18:56:22 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-06-15 18:56:22 +0530
commit77c8cd75162e0771dd45930a4309d3183707731a (patch)
tree56162ee3b7ca315adc07a1b0cef4364c6d07865d
parent0a67b745be4eeb756160e6fa690e6551e0dde5ab (diff)
downloadrails-77c8cd75162e0771dd45930a4309d3183707731a.tar.gz
rails-77c8cd75162e0771dd45930a4309d3183707731a.tar.bz2
rails-77c8cd75162e0771dd45930a4309d3183707731a.zip
form => form_for
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index c1273e0f3d..649acffa77 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -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 %>