Permalink
Browse files

[engines guide] improve wording for sentence describing comments/form…

… partial
  • Loading branch information...
1 parent b7cccae commit 411613ab207d6ff61520ad78a10b046469db9a80 @radar radar committed Oct 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/engines.textile
@@ -247,7 +247,7 @@ Next, there needs to be a form so that comments can be created on a post. To add
<%= render "comments/form" %>
</erb>
-Next, the partial that this line will render needs to exist. Create a new directory at +app/views/blorgh/comments+ and in it a new file called +_form.html.erb+ with this content to create the required partial:
+Next, the partial that this line will render needs to exist. Create a new directory at +app/views/blorgh/comments+ and in it a new file called +_form.html.erb+ which has this content to create the required partial:
<erb>
<%= form_for [@post, @post.comments.build] do |f| %>

0 comments on commit 411613a

Please sign in to comment.