You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class Admins::SubjectsController < Admins::BaseController
|
|
def index
|
|
default_sort('created_at', 'desc')
|
|
|
|
subjects = Admins::SubjectQuery.call(params)
|
|
@subjects = paginate subjects.includes(:repertoire, :subject_level_system, user: { user_extension: :school })
|
|
end
|
|
end |