Browse Source

remove trailing white-spaces from files controller source.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5837 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/1.2.0
Toshi MARUYAMA 13 years ago
parent
commit
7e308ae375
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/controllers/files_controller.rb

+ 1
- 1
app/controllers/files_controller.rb View File

@@ -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?

Loading…
Cancel
Save