From: Jean-Philippe Lang Date: Sat, 29 Mar 2008 20:03:20 +0000 (+0000) Subject: Use #blank? instead of #empty? in news/show view. X-Git-Tag: 0.8.0-RC1~625 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5ccbeba5c2fe775818bb063fbf4741296f0d39b3;p=redmine.git 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 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) %>