瀏覽代碼

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 年之前
父節點
當前提交
7e308ae375
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      app/controllers/files_controller.rb

+ 1
- 1
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?

Loading…
取消
儲存