summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-29 20:03:20 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-29 20:03:20 +0000
commit5ccbeba5c2fe775818bb063fbf4741296f0d39b3 (patch)
tree3a43e43fee24ee6ac05fc35d89d292ca952ce962
parenta381b0978f96bab8ca0372d81b74f3c77a50b6ac (diff)
downloadredmine-5ccbeba5c2fe775818bb063fbf4741296f0d39b3.tar.gz
redmine-5ccbeba5c2fe775818bb063fbf4741296f0d39b3.zip
Use #blank? instead of #empty? in news/show view.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1307 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/news/show.rhtml2
1 files changed, 1 insertions, 1 deletions
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 @@
<div id="preview" class="wiki"></div>
</div>
-<p><em><% unless @news.summary.empty? %><%=h @news.summary %><br /><% end %>
+<p><em><% unless @news.summary.blank? %><%=h @news.summary %><br /><% end %>
<span class="author"><%= authoring @news.created_on, @news.author %></span></em></p>
<div class="wiki">
<%= textilizable(@news.description) %>