summaryrefslogtreecommitdiffstats
path: root/app/views/messages/show.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-09 16:54:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-09 16:54:46 +0000
commit5d2899ee1b3e00d0cf43521182b1244dfc3cfe9f (patch)
treeeb64711c0150fafb698da9d92eb0d6735a5461cf /app/views/messages/show.rhtml
parent2b6e332318a3e0a9489d20280010bb2d00206d95 (diff)
downloadredmine-5d2899ee1b3e00d0cf43521182b1244dfc3cfe9f.tar.gz
redmine-5d2899ee1b3e00d0cf43521182b1244dfc3cfe9f.zip
AttachmentsController now handles attachments deletion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2116 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/messages/show.rhtml')
-rw-r--r--app/views/messages/show.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/messages/show.rhtml b/app/views/messages/show.rhtml
index 4143532b1..eae349dcc 100644
--- a/app/views/messages/show.rhtml
+++ b/app/views/messages/show.rhtml
@@ -15,7 +15,7 @@
<div class="wiki">
<%= textilizable(@topic.content, :attachments => @topic.attachments) %>
</div>
-<%= link_to_attachments @topic.attachments, :no_author => true %>
+<%= link_to_attachments @topic, :author => false %>
</div>
<br />
@@ -31,7 +31,7 @@
<div class="message reply">
<h4><%=h message.subject %> - <%= authoring message.created_on, message.author %></h4>
<div class="wiki"><%= textilizable message, :content, :attachments => message.attachments %></div>
- <%= link_to_attachments message.attachments, :no_author => true %>
+ <%= link_to_attachments message, :author => false %>
</div>
<% end %>
<% end %>