From 3762a92a3537dc7cc7e2bb2465a34aa73081358b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 23 Feb 2012 15:11:17 +0000 Subject: [PATCH] Pass the topic objet to #textilizable (#10275). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8949 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/messages/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb index 859e0d3c8..9edc8451f 100644 --- a/app/views/messages/show.html.erb +++ b/app/views/messages/show.html.erb @@ -27,7 +27,7 @@

<%= authoring @topic.created_on, @topic.author %>

-<%= textilizable(@topic.content, :attachments => @topic.attachments) %> +<%= textilizable(@topic, :content) %>
<%= link_to_attachments @topic, :author => false %>