From 5ccbeba5c2fe775818bb063fbf4741296f0d39b3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 29 Mar 2008 20:03:20 +0000 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 --- app/views/news/show.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml index 6de8aa86e..a55b56f0b 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) %>