@@ -13,7 +13,7 class FilesController < ApplicationController | |||||
13 | 'created_on' => "#{Attachment.table_name}.created_on", |
|
13 | 'created_on' => "#{Attachment.table_name}.created_on", | |
14 | 'size' => "#{Attachment.table_name}.filesize", |
|
14 | 'size' => "#{Attachment.table_name}.filesize", | |
15 | 'downloads' => "#{Attachment.table_name}.downloads" |
|
15 | 'downloads' => "#{Attachment.table_name}.downloads" | |
16 |
|
16 | |||
17 | @containers = [ Project.find(@project.id, :include => :attachments, :order => sort_clause)] |
|
17 | @containers = [ Project.find(@project.id, :include => :attachments, :order => sort_clause)] | |
18 | @containers += @project.versions.find(:all, :include => :attachments, :order => sort_clause).sort.reverse |
|
18 | @containers += @project.versions.find(:all, :include => :attachments, :order => sort_clause).sort.reverse | |
19 | render :layout => !request.xhr? |
|
19 | render :layout => !request.xhr? |
General Comments 0
You need to be logged in to leave comments.
Login now