Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
adding article content to index page for blog template
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Jul 23, 2008
1 parent 1ce9a66 commit 047cf54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/blog/app/views/articles/index.html.erb
Expand Up @@ -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.