added parentheses to get rid of warning

git-svn-id: http://redmine.rubyforge.org/svn/trunk@218 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-02-02 15:22:07 +00:00
parent 318c8717b8
commit 1eb17b08f9
1 changed files with 1 additions and 1 deletions

View File

@ -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.empty? %><%=h(truncate(document.description, 250)) %><br /><% end %>
<em><%= format_time(document.created_on) %></em></p>