diff --git a/app/views/documents/_document.rhtml b/app/views/documents/_document.rhtml index e1539b82..ddfdb9ee 100644 --- a/app/views/documents/_document.rhtml +++ b/app/views/documents/_document.rhtml @@ -1,3 +1,3 @@

<%= link_to h(document.title), :controller => 'documents', :action => 'show', :id => document %>
-<% unless document.description.empty? %><%=h(truncate(document.description, 250)) %>
<% end %> +<% unless document.description.blank? %><%=h(truncate(document.description, 250)) %>
<% end %> <%= format_time(document.created_on) %>

\ No newline at end of file