summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/documents/_document.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/documents/_document.rhtml b/app/views/documents/_document.rhtml
index e1539b828..ddfdb9eec 100644
--- a/app/views/documents/_document.rhtml
+++ b/app/views/documents/_document.rhtml
@@ -1,3 +1,3 @@
<p><%= link_to h(document.title), :controller => 'documents', :action => 'show', :id => document %><br />
-<% unless document.description.empty? %><%=h(truncate(document.description, 250)) %><br /><% end %>
+<% unless document.description.blank? %><%=h(truncate(document.description, 250)) %><br /><% end %>
<em><%= format_time(document.created_on) %></em></p> \ No newline at end of file