@@ -22,7 +22,7 @@ module RailsAdmin
register_instance_option :controller do
Proc.new do
require 'rest-client'
- list_file = ListFile.where("id = ? ",@object.id,0).first
+ list_file = ListFile.where("id = ? ",@object.id).first
n = "生成成功"
if not list_file.blank?
n = "已成功生成清单"