templates/index.rhtml in shinmun-0.5.2 vs templates/index.rhtml in shinmun-0.9
- old
+ new
@@ -1,8 +1,8 @@
<h1>Home</h1>
<div class="articles">
- <% for post in @blog.recent_posts %>
+ <% for post in @posts %>
<div class="article">
<div class="date"><%= human_date post.date %></div>
<h2><%= post_link post %></h2>
<%= post.summary %>
</div>