dev_tpm_ui
jingquan huang 5 years ago
parent c02657b432
commit 8916be9529

@ -1,6 +1,7 @@
class Admins::LaboratoriesController < Admins::BaseController
def index
default_sort('id', 'desc')
Rails.logger("666666666")
laboratories = Admins::LaboratoryQuery.call(params)
@laboratories = paginate laboratories.preload(:school, :laboratory_users)

Loading…
Cancel
Save