Permalink
Browse files

[engines guide] Add heading for comments

  • Loading branch information...
1 parent 2c8b8ce commit 3d192c73854b82fba313f641250f2e36031c87b7 @radar radar committed Oct 14, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 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>

0 comments on commit 3d192c7

Please sign in to comment.