Permalink
Browse files

adding article content to index page for blog template

  • Loading branch information...
1 parent 1ce9a66 commit 047cf543b1cf54e37820394e10ed7bab5647e0ce @ryanb committed Jul 23, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 templates/blog/app/views/articles/index.html.erb
@@ -7,5 +7,6 @@
<span class="comments">(<%= pluralize(article.comments.size, 'comment') %>)</span>
</h2>
<div class="author">from <%=h article.author_name %> on <%= article.created_at.strftime('%b %d, %Y') %></div>
+ <div class="content"><%= simple_format(article.content) %></div>
<% end %>
</div>

0 comments on commit 047cf54

Please sign in to comment.