Mercurial > hg > soundsoftware-site
diff app/controllers/.svn/text-base/files_controller.rb.svn-base @ 441:cbce1fd3b1b7 redmine-1.2
Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author | Chris Cannam |
---|---|
date | Mon, 06 Jun 2011 14:24:13 +0100 |
parents | 94944d00e43c |
children |
line wrap: on
line diff
--- a/app/controllers/.svn/text-base/files_controller.rb.svn-base Thu Mar 03 11:42:28 2011 +0000 +++ b/app/controllers/.svn/text-base/files_controller.rb.svn-base Mon Jun 06 14:24:13 2011 +0100 @@ -13,7 +13,7 @@ '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?