Browse files

[getting started] Fix index template after destroy action addition

  • Loading branch information...
1 parent a99417b commit 9fc5b456a000f5fada0edb7b483b14915fd90b83 @radar radar committed May 17, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 guides/source/getting_started.textile
4 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
+<h1>Listing Posts</h1>

0 comments on commit 9fc5b45

Please sign in to comment.