diff options
-rw-r--r-- | guides/source/getting_started.textile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile index 457d0caa9d..87e3aea2aa 100644 --- a/guides/source/getting_started.textile +++ b/guides/source/getting_started.textile @@ -1101,10 +1101,12 @@ You can call +destroy+ on Active Record objects when you want to delete them from the database. Note that we don't need to add a view for this action since we're redirecting to the +index+ action. -Finally, add a 'destroy' link to your +index+ action to wrap everything +Finally, add a 'destroy' link to your +index+ action template +(+app/views/posts/index.html.erb) to wrap everything together. <erb> +<h1>Listing Posts</h1> <table> <tr> <th>Title</th> |