diff options
-rw-r--r-- | app/views/news/show.rhtml | 2 |
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) %> |