Use #blank? instead of #empty? in news/show view.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1307 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a381b0978f
commit
5ccbeba5c2
|
@ -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) %>
|
||||
|
|
Loading…
Reference in New Issue