diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2011-10-14 07:42:06 +1100 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2011-10-14 18:44:38 +1100 |
commit | 411613ab207d6ff61520ad78a10b046469db9a80 (patch) | |
tree | 9607bd57b948f6a71441b1b3328c5dce3a5cbfc3 /railties/guides/source/engines.textile | |
parent | b7cccae71e4c42415f8c0dab7b083ed7db54c0c1 (diff) | |
download | rails-411613ab207d6ff61520ad78a10b046469db9a80.tar.gz rails-411613ab207d6ff61520ad78a10b046469db9a80.tar.bz2 rails-411613ab207d6ff61520ad78a10b046469db9a80.zip |
[engines guide] improve wording for sentence describing comments/form partial
Diffstat (limited to 'railties/guides/source/engines.textile')
-rw-r--r-- | railties/guides/source/engines.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/engines.textile b/railties/guides/source/engines.textile index 2366de33d7..48c5cbf797 100644 --- a/railties/guides/source/engines.textile +++ b/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| %> |