diff --git a/app/controllers/files_controller.rb b/app/controllers/files_controller.rb index d7234985e..c6974ea1c 100644 --- a/app/controllers/files_controller.rb +++ b/app/controllers/files_controller.rb @@ -13,7 +13,7 @@ class FilesController < ApplicationController 'created_on' => "#{Attachment.table_name}.created_on", 'size' => "#{Attachment.table_name}.filesize", 'downloads' => "#{Attachment.table_name}.downloads" - + @containers = [ Project.find(@project.id, :include => :attachments, :order => sort_clause)] @containers += @project.versions.find(:all, :include => :attachments, :order => sort_clause).sort.reverse render :layout => !request.xhr?