Skip to content
This repository
Browse code

[getting started] Fix index template after destroy action addition

  • Loading branch information...
commit 9fc5b456a000f5fada0edb7b483b14915fd90b83 1 parent a99417b
Ryan Bigg radar authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 guides/source/getting_started.textile
4 guides/source/getting_started.textile
Source Rendered
@@ -1101,10 +1101,12 @@ You can call +destroy+ on Active Record objects when you want to delete
1101 1101 them from the database. Note that we don't need to add a view for this
1102 1102 action since we're redirecting to the +index+ action.
1103 1103
1104   -Finally, add a 'destroy' link to your +index+ action to wrap everything
  1104 +Finally, add a 'destroy' link to your +index+ action template
  1105 +(+app/views/posts/index.html.erb) to wrap everything
1105 1106 together.
1106 1107
1107 1108 <erb>
  1109 +<h1>Listing Posts</h1>
1108 1110 <table>
1109 1111 <tr>
1110 1112 <th>Title</th>

0 comments on commit 9fc5b45

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