Fixes referencing work packages in news

pull/1036/head
Ion Biziiac 11 years ago
parent ddc3ea2df5
commit 201a3dcd47
  1. 2
      app/views/news/index.html.erb

@ -38,7 +38,7 @@ See doc/COPYRIGHT.rdoc for more details.
<%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %></h3>
<p class="author"><%= authoring news.created_on, news.author %></p>
<div class="wiki">
<%= textilizable(news.summary.present? ? news.summary : truncate(news.description)) %>
<%= textilizable(news.summary.present? ? news.summary : truncate(news.description), :object => news) %>
</div>
<% end %>
<% end %>

Loading…
Cancel
Save