OSDN Git Service

Fixed a parenthesis warning in news/show.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 7 Dec 2007 10:27:52 +0000 (10:27 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 7 Dec 2007 10:27:52 +0000 (10:27 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@956 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/news/show.rhtml

index 2b51c1f..32a24e8 100644 (file)
@@ -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>