]> source.dussan.org Git - redmine.git/commitdiff
Pass the topic objet to #textilizable (#10275).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 23 Feb 2012 15:11:17 +0000 (15:11 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 23 Feb 2012 15:11:17 +0000 (15:11 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8949 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/messages/show.html.erb

index 859e0d3c8aa0729c6577497a2b5360543c459c08..9edc8451fdc6ff24cc5e7ce815576156591e78d6 100644 (file)
@@ -27,7 +27,7 @@
 <div class="message">
 <p><span class="author"><%= authoring @topic.created_on, @topic.author %></span></p>
 <div class="wiki">
-<%= textilizable(@topic.content, :attachments => @topic.attachments) %>
+<%= textilizable(@topic, :content) %>
 </div>
 <%= link_to_attachments @topic, :author => false %>
 </div>