diff options
author | James Miller <james@jk-tech.com> | 2010-04-06 16:52:39 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-04-09 04:45:02 -0700 |
commit | 4f0982db91f4e67b36aec7f1e7445655e7bce8ce (patch) | |
tree | 638141f5a28395617296a86ac52b4dca3aca600c /railties/guides/source/getting_started.textile | |
parent | 42d3764b3ddc67ac5818deff06b7dfbcdd95e834 (diff) | |
download | rails-4f0982db91f4e67b36aec7f1e7445655e7bce8ce.tar.gz rails-4f0982db91f4e67b36aec7f1e7445655e7bce8ce.tar.bz2 rails-4f0982db91f4e67b36aec7f1e7445655e7bce8ce.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"> |