From: Jean-Philippe Lang Date: Sat, 29 Mar 2008 22:35:04 +0000 (+0000) Subject: Fixed: can not display attached images inline in message replies. X-Git-Tag: 0.8.0-RC1~624 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1b8c5d40589d345a582fd2d0ff73c1ebfd88b7fb;p=redmine.git Fixed: can not display attached images inline in message replies. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1308 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/messages/show.rhtml b/app/views/messages/show.rhtml index ef7db71ef..251b7c7a5 100644 --- a/app/views/messages/show.rhtml +++ b/app/views/messages/show.rhtml @@ -26,7 +26,7 @@

<%=h message.subject %> - <%= authoring message.created_on, message.author %>

-
<%= textilizable message.content %>
+
<%= textilizable message, :content, :attachments => message.attachments %>
<%= link_to_attachments message.attachments, :no_author => true %>
<% end %>