文件列表

This commit is contained in:
sw 2015-09-29 15:20:33 +08:00
parent b22669e36f
commit 16333d69f7
1 changed files with 0 additions and 6 deletions

View File

@ -176,12 +176,6 @@ class FilesController < ApplicationController
def index
@flag = params[:flag] || false
#sort_init 'filename', 'asc'
# sort_init 'created_on', 'desc'
# sort_update 'created_on' => "#{Attachment.table_name}.created_on",
# 'filename' => "#{Attachment.table_name}.filename",
# 'size' => "#{Attachment.table_name}.filesize",
# 'downloads' => "#{Attachment.table_name}.downloads"
sort = ""
@sort = ""
@order = ""