summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-23 15:11:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-23 15:11:17 +0000
commit3762a92a3537dc7cc7e2bb2465a34aa73081358b (patch)
treeb9990e19774094ee5ab94432cd8bee02e618c123 /app/views
parentc49ef8e543c47ebe1a50f54811545ba21159beef (diff)
downloadredmine-3762a92a3537dc7cc7e2bb2465a34aa73081358b.tar.gz
redmine-3762a92a3537dc7cc7e2bb2465a34aa73081358b.zip
Pass the topic objet to #textilizable (#10275).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8949 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/messages/show.html.erb2
1 files changed, 1 insertions, 1 deletions
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 @@
<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>