aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/getting_started.textile
diff options
context:
space:
mode:
authorJames Miller <james@jk-tech.com>2010-04-06 16:52:39 -0700
committerJames Miller <james@jk-tech.com>2010-04-06 16:52:39 -0700
commitb52b36e680713b04a541c4bf989a692975099e6c (patch)
treec3f9a1d3b07cca41d168945fc127719673e30895 /railties/guides/source/getting_started.textile
parentbeca1af820fab74a6ea26cb906d6c5e0116b7f8c (diff)
downloadrails-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.textile2
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">