From 369167f1dc022e4b6a24693b9eec07e917593b1b Mon Sep 17 00:00:00 2001 From: Anthony Salani Date: Fri, 12 Sep 2014 12:24:39 -0400 Subject: [PATCH] fixes tutorial index from breaking --- app/views/shared/_article_box.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/shared/_article_box.html.erb b/app/views/shared/_article_box.html.erb index cca0bd32d..0928ff9a5 100644 --- a/app/views/shared/_article_box.html.erb +++ b/app/views/shared/_article_box.html.erb @@ -22,7 +22,9 @@
<%= brief %>
Written on <%= date %>
- <%= content.html_safe %> + <% if content != nil %> + <%= content.html_safe %> + <% end %>
<%= link_to "Read More", path %>