From 9fc5b456a000f5fada0edb7b483b14915fd90b83 Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Thu, 17 May 2012 19:16:47 +1000 Subject: [getting started] Fix index template after destroy action addition --- guides/source/getting_started.textile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'guides/source/getting_started.textile') 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. +

Listing Posts

-- cgit v1.2.3
Title