From af2a6ac8539376d42f2d419f3e5bd4081a2ddc22 Mon Sep 17 00:00:00 2001
From: Ryan Bigg <radarlistener@gmail.com>
Date: Wed, 16 May 2012 10:51:11 +1000
Subject: [getting started] indent iteration in posts/index template

---
 guides/source/getting_started.textile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'guides/source/getting_started.textile')

diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile
index f449cc9679..142c5f8a70 100644
--- a/guides/source/getting_started.textile
+++ b/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>
 
-- 
cgit v1.2.3

