diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/engines.textile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/guides/source/engines.textile b/railties/guides/source/engines.textile index f642781c04..616ea16b7a 100644 --- a/railties/guides/source/engines.textile +++ b/railties/guides/source/engines.textile @@ -230,6 +230,7 @@ This generator call will generate just the necessary model files it needs, names To show the comments on a post, edit +app/views/posts/show.html.erb+ and add this line before the "Edit" link: <erb> +<h3>Comments</h3> <%= render @post.comments %> </erb> |