|
|
|
@ -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)
|
|
|
|
|