diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2011-10-14 18:05:45 +1100 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2011-10-14 18:44:39 +1100 |
commit | 3d192c73854b82fba313f641250f2e36031c87b7 (patch) | |
tree | d433728fc121aa44c590e0b9112a589f4a400b90 /railties | |
parent | 2c8b8ce9eebce7f128d1811dde71f854fa8806c3 (diff) | |
download | rails-3d192c73854b82fba313f641250f2e36031c87b7.tar.gz rails-3d192c73854b82fba313f641250f2e36031c87b7.tar.bz2 rails-3d192c73854b82fba313f641250f2e36031c87b7.zip |
[engines guide] Add heading for comments
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> |