Permalink
Browse files

add blog teaser

  • Loading branch information...
1 parent 43c7cec commit 24ab91c4bf831fc61fda091cd9c1ed4a5d3adf5f @alx committed Sep 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/views/pages/home.html.erb
View
1 app/views/pages/home.html.erb
@@ -3,4 +3,5 @@
<time datetime="<%=l post.published_at.to_date, :format => :default %>">
<%= t('created_at', :scope => 'blog.shared.posts', :when => l(post.published_at.to_date, :format => :short)) %>
</time>
+ <p><%= blog_teaser(post) %></p>
<% end %>

0 comments on commit 24ab91c

Please sign in to comment.