Skip to content
This repository
Browse code

[engines guide] Add heading for comments

  • Loading branch information...
commit 3d192c73854b82fba313f641250f2e36031c87b7 1 parent 2c8b8ce
Ryan Bigg radar authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  railties/guides/source/engines.textile
1  railties/guides/source/engines.textile
Source Rendered
@@ -230,6 +230,7 @@ This generator call will generate just the necessary model files it needs, names
230 230 To show the comments on a post, edit +app/views/posts/show.html.erb+ and add this line before the "Edit" link:
231 231
232 232 <erb>
  233 +<h3>Comments</h3>
233 234 <%= render @post.comments %>
234 235 </erb>
235 236

0 comments on commit 3d192c7

Please sign in to comment.
Something went wrong with that request. Please try again.