From 5ccbeba5c2fe775818bb063fbf4741296f0d39b3 2008-03-29 20:03:20 From: Jean-Philippe Lang Date: 2008-03-29 20:03:20 Subject: [PATCH] Use #blank? instead of #empty? in news/show view. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1307 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml index 6de8aa8..a55b56f 100644 --- a/app/views/news/show.rhtml +++ b/app/views/news/show.rhtml @@ -25,7 +25,7 @@
-

<% unless @news.summary.empty? %><%=h @news.summary %>
<% end %> +

<% unless @news.summary.blank? %><%=h @news.summary %>
<% end %> <%= authoring @news.created_on, @news.author %>

<%= textilizable(@news.description) %>