Move VersionsController#download to AttachmentsController.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1685 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
<% for file in version.attachments %>
|
||||
<tr class="<%= cycle("odd", "even") %>">
|
||||
<td></td>
|
||||
<td><%= link_to(file.filename, {:controller => 'versions', :action => 'download', :id => version, :attachment_id => file},
|
||||
:title => file.description) %></td>
|
||||
<td><%= link_to(h(file.filename), {:controller => 'attachments', :action => 'download', :id => file},
|
||||
:title => file.description) %></td>
|
||||
<td align="center"><%= format_time(file.created_on) %></td>
|
||||
<td align="center"><%= number_to_human_size(file.filesize) %></td>
|
||||
<td align="center"><%= file.downloads %></td>
|
||||
|
||||
Reference in New Issue
Block a user