Permalink
Browse files

[getting started] indent iteration in posts/index template

  • Loading branch information...
1 parent 533bcd7 commit af2a6ac8539376d42f2d419f3e5bd4081a2ddc22 @radar radar committed May 16, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 guides/source/getting_started.textile
@@ -585,12 +585,12 @@ And then finally a view for this action, located at +app/views/posts/index.html.
<th>Text</th>
</tr>
-<% @posts.each do |post| %>
- <tr>
- <td><%= post.title %></td>
- <td><%= post.text %></td>
- </tr>
-<% end %>
+ <% @posts.each do |post| %>
+ <tr>
+ <td><%= post.title %></td>
+ <td><%= post.text %></td>
+ </tr>
+ <% end %>
</table>
</erb>

0 comments on commit af2a6ac

Please sign in to comment.