diff options
author | James Miller <james@jk-tech.com> | 2010-04-06 16:52:39 -0700 |
---|---|---|
committer | James Miller <james@jk-tech.com> | 2010-04-06 16:52:39 -0700 |
commit | b52b36e680713b04a541c4bf989a692975099e6c (patch) | |
tree | c3f9a1d3b07cca41d168945fc127719673e30895 /railties/guides/source/getting_started.textile | |
parent | beca1af820fab74a6ea26cb906d6c5e0116b7f8c (diff) | |
download | rails-b52b36e680713b04a541c4bf989a692975099e6c.tar.gz rails-b52b36e680713b04a541c4bf989a692975099e6c.tar.bz2 rails-b52b36e680713b04a541c4bf989a692975099e6c.zip |
More on the new ERB syntax in the guides
Diffstat (limited to 'railties/guides/source/getting_started.textile')
-rw-r--r-- | railties/guides/source/getting_started.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index 17279146a7..2bbb4dc252 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -974,7 +974,7 @@ Once we have made the new comment, we send the user back to the +post_path(@post <% end %> <h2>Add a comment:</h2> -<% form_for([@post, @post.comments.build]) do |f| %> +<%= form_for([@post, @post.comments.build]) do |f| %> <%= f.error_messages %> <div class="field"> |