|
|
|
@ -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 = ""
|
|
|
|
|