diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2012-05-16 10:51:11 +1000 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2012-05-16 10:51:44 +1000 |
commit | af2a6ac8539376d42f2d419f3e5bd4081a2ddc22 (patch) | |
tree | 760a8b1e1bf1315ef23518bf23e2fb5beee15b66 | |
parent | 533bcd75d392cd1e0a9fcc5976237e877953477d (diff) | |
download | rails-af2a6ac8539376d42f2d419f3e5bd4081a2ddc22.tar.gz rails-af2a6ac8539376d42f2d419f3e5bd4081a2ddc22.tar.bz2 rails-af2a6ac8539376d42f2d419f3e5bd4081a2ddc22.zip |
[getting started] indent iteration in posts/index template
-rw-r--r-- | guides/source/getting_started.textile | 12 |
1 files changed, 6 insertions, 6 deletions
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> |