summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-07 10:27:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-07 10:27:52 +0000
commita79cf8d574d1bdad8483586014019ed9ee2b3bdf (patch)
treea89ae690c0f53b261688e660332d3cddcc70c185 /app
parent3c44aac1f50cfee83e87baa21d758620749c01e0 (diff)
downloadredmine-a79cf8d574d1bdad8483586014019ed9ee2b3bdf.tar.gz
redmine-a79cf8d574d1bdad8483586014019ed9ee2b3bdf.zip
Fixed a parenthesis warning in news/show.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@956 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/news/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml
index 2b51c1fee..32a24e85e 100644
--- a/app/views/news/show.rhtml
+++ b/app/views/news/show.rhtml
@@ -30,7 +30,7 @@
<div class="contextual">
<%= link_to_if_authorized l(:button_delete), {:controller => 'news', :action => 'destroy_comment', :id => @news, :comment_id => comment}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
</div>
- <%= simple_format(auto_link(h comment.comments))%>
+ <%= simple_format(auto_link(h(comment.comments)))%>
<% end if @news.comments_count > 0 %>
</div>