From 047cf543b1cf54e37820394e10ed7bab5647e0ce Mon Sep 17 00:00:00 2001 From: Ryan Bates Date: Wed, 23 Jul 2008 15:19:36 -0700 Subject: [PATCH] adding article content to index page for blog template --- templates/blog/app/views/articles/index.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/blog/app/views/articles/index.html.erb b/templates/blog/app/views/articles/index.html.erb index d81cb185..b84dcd8f 100644 --- a/templates/blog/app/views/articles/index.html.erb +++ b/templates/blog/app/views/articles/index.html.erb @@ -7,5 +7,6 @@ (<%= pluralize(article.comments.size, 'comment') %>)
from <%=h article.author_name %> on <%= article.created_at.strftime('%b %d, %Y') %>
+
<%= simple_format(article.content) %>
<% end %>