diff --git a/app/models/shixun.rb b/app/models/shixun.rb index bbc64946..e7682a74 100644 --- a/app/models/shixun.rb +++ b/app/models/shixun.rb @@ -55,7 +55,7 @@ class Shixun < ActiveRecord::Base has_many :shixun_service_configs, :dependent => :destroy scope :visible, lambda{where(status: [2,3])} - scope :min, lambda { select([:id, :name, :gpid, :modify_time, :reset_time, :language, :propaedeutics, :status, :identifier, + scope :min, lambda { select([:id, :name, :gpid, :modify_time, :reset_time, :language, :status, :identifier, :test_set_permission, :hide_code, :forbid_copy, :hidden, :webssh, :user_id, :code_hidden, :task_pass, :exec_time, :multi_webssh, :vnc]) } scope :published, lambda{where(status: 2)}